Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 347109
b: refs/heads/master
c: f36b9dd
h: refs/heads/master
i:
  347107: 0f36af2
v: v3
  • Loading branch information
Chanwoo Choi authored and Anton Vorontsov committed Dec 17, 2012
1 parent 72db638 commit caa3b71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0fa11dbc234268c4160b81f67220308dea3c156a
refs/heads/master: f36b9ddbab408f5f5ed9105d857189b84337af48
5 changes: 3 additions & 2 deletions trunk/drivers/power/charger-manager.c
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,9 @@ static void fullbatt_vchk(struct work_struct *work)
return;
}

diff = desc->fullbatt_uV;
diff -= batt_uV;
diff = desc->fullbatt_uV - batt_uV;
if (diff < 0)
return;

dev_info(cm->dev, "VBATT dropped %duV after full-batt.\n", diff);

Expand Down

0 comments on commit caa3b71

Please sign in to comment.