projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbff4c8
)
power: supply: bq24735: bring down the noise level
author
Peter Rosin
<peda@axentia.se>
Wed, 21 Dec 2016 21:29:53 +0000
(22:29 +0100)
committer
Sebastian Reichel
<sre@kernel.org>
Wed, 4 Jan 2017 21:03:33 +0000
(22:03 +0100)
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: Peter Rosin <peda@axentia.se>
Signed-off-by: Sebastian Reichel <sre@kernel.org>
drivers/power/supply/bq24735-charger.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/power/supply/bq24735-charger.c
b/drivers/power/supply/bq24735-charger.c
index d8be81203837f8928193409ad5dcdbcaf335fc7f..eb0145380def28f16282d490535a48e3d4b0f379 100644
(file)
--- a/
drivers/power/supply/bq24735-charger.c
+++ b/
drivers/power/supply/bq24735-charger.c
@@
-192,7
+192,7
@@
static bool bq24735_charger_is_present(struct bq24735 *charger)
ac = bq24735_read_word(charger->client, BQ24735_CHG_OPT);
if (ac < 0) {
- dev_
err
(&charger->client->dev,
+ dev_
dbg
(&charger->client->dev,
"Failed to read charger options : %d\n",
ac);
return false;