commit | 3a38a38cd1bb74dc5279187942e40a6ec39f496c | [log] [tgz] |
---|---|---|
author | Anirudh Ghayal <aghayal@codeaurora.org> | Wed Dec 05 10:42:17 2012 +0530 |
committer | Anirudh Ghayal <aghayal@codeaurora.org> | Wed Dec 12 16:35:41 2012 +0530 |
tree | 5ce9342741bb5b60d7981fc1914c3a5c35ed2151 | |
parent | 396859cf22b0540261c06d8f8a1be9d5befdd16e [diff] |
power: pm8921-bms: Add error handling logic Handle return code in reading vsense average so that the parent function pm8921_bms_get_battery_current does not report invalid battery current. While at it, also fix the variable initialization. CRs-Fixed: 389636 Change-Id: If24985f47cc9fcd6c2eb84a73165878559008120 Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>