diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2012-07-27 14:01:34 +0900 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-08-22 20:08:28 -0700 |
commit | dbb61fc7452632a4225b2fe3719b6c2d1306e257 (patch) | |
tree | 9104ac5f913221c52052431245bdbf3902345bae /include/linux/hwmon.h | |
parent | c084e092e47ca2435673702c6cf6e87a731ecc6f (diff) | |
download | linux-dbb61fc7452632a4225b2fe3719b6c2d1306e257.tar.gz linux-dbb61fc7452632a4225b2fe3719b6c2d1306e257.tar.bz2 linux-dbb61fc7452632a4225b2fe3719b6c2d1306e257.zip |
charger-manager: Disable regulator when charger cable is detached
This patch disable regulator for charging when charger cable is detached
before stopping charging forcibly on abnormal battery state and check
return value of regulator_enable/disable() function to confirm correct
operation of enabling or disabling regulator for charging.
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
Signed-off-by: Myungjoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Anton Vorontsov <anton.vorontsov@linaro.org>
Diffstat (limited to 'include/linux/hwmon.h')
0 files changed, 0 insertions, 0 deletions