Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit de4fb051 authored by Peter Rosin's avatar Peter Rosin Committed by Sebastian Reichel
Browse files

power: supply: bq24735: bring down the noise level



If there is no ti,ac-detect-gpios configured, it is normal to
have failed reads of the options register. So, hold back on the
log spamming.

Signed-off-by: default avatarPeter Rosin <peda@axentia.se>
Signed-off-by: default avatarSebastian Reichel <sre@kernel.org>
parent dbff4c8e
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -192,7 +192,7 @@ static bool bq24735_charger_is_present(struct bq24735 *charger)


		ac = bq24735_read_word(charger->client, BQ24735_CHG_OPT);
		ac = bq24735_read_word(charger->client, BQ24735_CHG_OPT);
		if (ac < 0) {
		if (ac < 0) {
			dev_err(&charger->client->dev,
			dev_dbg(&charger->client->dev,
				"Failed to read charger options : %d\n",
				"Failed to read charger options : %d\n",
				ac);
				ac);
			return false;
			return false;