commit | a91856067374c9fad175984e8823136822b0fcf1 | [log] [tgz] |
---|---|---|
author | David Keitel <dkeitel@codeaurora.org> | Tue Nov 12 17:55:48 2013 -0800 |
committer | David Keitel <dkeitel@codeaurora.org> | Wed Nov 20 09:59:20 2013 -0800 |
tree | 6f59c43b43792316cdf71032ab55d1d570fb57a2 | |
parent | 62ee3fcee3699257b705879282e9b7dacf61153a [diff] |
power: qpnp-charger: unset USB_SUSP bit in certain cases. Due to a hardware bug vbatdet_lo is always asserted to be low when the USB_SUSP bit is set. This can cause unwanted resume of charge after end of charge has been detected. Fix this by making sure to only set this bit if USB is connected and the USB driver requests the suspend state. Change-Id: I332dcfeff119fc27d493d88dd632478ca3713b83 CRs-Fixed: 567878 Signed-off-by: David Keitel <dkeitel@codeaurora.org>