ab8500_charger: Handle gpadc errors
authorJonas Aaberg <jonas.aberg@stericsson.com>
Fri, 11 Jan 2013 13:12:53 +0000 (13:12 +0000)
committerAnton Vorontsov <anton@enomsg.org>
Wed, 16 Jan 2013 01:35:21 +0000 (17:35 -0800)
commita864c5a869dcdb40617fc15166385e0ffa609592
treeb0f2871e0d981a70a5517c4104ee3e942ca27735
parent9a0bd070fd3582aed024a2f13a30b1de307db1e2
ab8500_charger: Handle gpadc errors

Gracefully handle gpadc conversion errors.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonas Aaberg <jonas.aberg@stericsson.com>
Reviewed-by: Johan BJORNSTEDT <johan.bjornstedt@stericsson.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/ab8500_charger.c