commit | 50fc99f83f102c60a9429f451594019a6a978103 | [log] [tgz] |
---|---|---|
author | Tony Lindgren <tony@atomide.com> | Wed Oct 16 15:30:05 2019 -0700 |
committer | Sebastian Reichel <sre@kernel.org> | Sun Oct 20 20:26:17 2019 +0200 |
tree | 65fe146110e5133ded9b4e1c57fee9b6fddec8aa | |
parent | 639c1524da3b273d20c42ff2387d08eb4b12e903 [diff] |
power: supply: cpcap-charger: Improve battery detection We are currently using a wrong ADC range for the battery detection. The ADC returns the battery temperature if connected. Cc: Merlijn Wajer <merlijn@wizzup.org> Cc: Pavel Machek <pavel@ucw.cz> Acked-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>