]> git.baikalelectronics.ru Git - kernel.git/commit
power: supply: cpcap-charger: Keep trickle charger bits disabled
authorTony Lindgren <tony@atomide.com>
Thu, 4 May 2017 00:15:32 +0000 (17:15 -0700)
committerSebastian Reichel <sre@kernel.org>
Thu, 4 May 2017 15:52:00 +0000 (17:52 +0200)
commit5ce774fe0a96b57a0fc63d53fe3cb5dd1425ee5b
treeec1700c7199ac9ee85acf10363a38c6f82ea9ad9
parentbaee72c7239ff64fd2bf9cae2405bfd433b79ca6
power: supply: cpcap-charger: Keep trickle charger bits disabled

Android does not seem to set the trickle charger bits, and these
seem to be only used by the bootloader when bringing up a
completely discharged battery. So let's keep the trickle charging
bits disabled and avoid misconfiguring the hardware.

Fixes: 1b73d3943cf0 ("power: supply: cpcap-charger: Add minimal
CPCAP PMIC battery charger")
Cc: Marcel Partap <mpartap@gmx.net>
Cc: Michael Scott <michael.scott@linaro.org>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
drivers/power/supply/cpcap-charger.c