ab8500_charger: Prevent auto drop of VBUS
authorLee Jones <lee.jones@linaro.org>
Thu, 14 Feb 2013 12:37:29 +0000 (12:37 +0000)
committerLee Jones <lee.jones@linaro.org>
Thu, 7 Mar 2013 04:35:42 +0000 (12:35 +0800)
commitf7470b5d246294761892f4bafc0eeedaa4369d92
tree126b36d748838bd988725381c105012281cbd8d4
parent49fddeec9fbb0dd58507185104812fde77c38def
ab8500_charger: Prevent auto drop of VBUS

Do not set higher current in stepping functionality if VBUS is dropping.
After VBUS has dropped try to set current once again. If dropping again
then we have found the maximum capability of the charger.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/power/ab8500_charger.c