summaryrefslogtreecommitdiffstats
path: root/drivers/power/ds2782_battery.c
diff options
context:
space:
mode:
authorKim, Milo <Milo.Kim@ti.com>2012-10-19 00:12:21 +0000
committerAnton Vorontsov <anton.vorontsov@linaro.org>2012-11-17 20:42:12 -0800
commit340968de484967f931d89d20a1344d213fa86fb8 (patch)
treea5e1f1493dbb49a86d591a53938ee153213a5cab /drivers/power/ds2782_battery.c
parent968a47836c7f9dc6a3987f846bb7e095d30b86ec (diff)
lp8788-charger: Fix wrong ADC conversion
To get the battery voltage and temperature, IIO ADC functions are used. LP8788 ADC driver provides RAW and SCALE channel information. This patch fixes wrong ADC result. Signed-off-by: Milo(Woogyom) Kim <milo.kim@ti.com> Reviewed-by Lars-Peter Clausen <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@kernel.org> Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'drivers/power/ds2782_battery.c')
0 files changed, 0 insertions, 0 deletions