diff options
author | Chanwoo Choi <cw00.choi@samsung.com> | 2012-11-22 16:53:51 +0900 |
---|---|---|
committer | Anton Vorontsov <anton.vorontsov@linaro.org> | 2012-12-16 22:45:58 -0800 |
commit | f36b9ddbab408f5f5ed9105d857189b84337af48 (patch) | |
tree | 3bb1a850b2c66f2702d4f438fb7d5915f7180738 /drivers/pwm/pwm-tiecap.c | |
parent | 0fa11dbc234268c4160b81f67220308dea3c156a (diff) | |
download | linux-f36b9ddbab408f5f5ed9105d857189b84337af48.tar.bz2 |
charger-manager: Fix bug when check dropped voltage after fullbatt event
This patch check difference value between current voltage of battery and
desc->fullbatt_uV whether positve or negative number. If difference value
is negative number when current voltage of battery is larger than
desc->fullbatt_uV, charger-manager return immediately because battery is
fully charged.
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 'drivers/pwm/pwm-tiecap.c')
0 files changed, 0 insertions, 0 deletions