commit | 86628ccb6b31ed9c6986c4fc29d58f3b85d5e6d1 | [log] [tgz] |
---|---|---|
author | David Keitel <dkeitel@codeaurora.org> | Mon Jun 09 13:24:00 2014 -0700 |
committer | David Keitel <dkeitel@codeaurora.org> | Fri Jun 13 11:36:35 2014 -0700 |
tree | a4660fe0fed91652370b463be2c48ca5ba602ad3 | |
parent | 8db6478417a18ed9697de975ed5de59805861a76 [diff] |
power: qpnp-charger: if OTG is on and DC_IN removed resume charging In the case DC_IN is charging and an OTG device is connected subsequently and the DC_IN charger removed, battery would be still reported as full despite the fact that no charger is connected. Fix this by checking if OTG is enabled in qpnp_chg_dc_dcin_valid_irq_handler. Change-Id: Id0f7588fdcfb86261e129ab5b73e7da587889713 CRs-Fixed: 654771 Signed-off-by: David Keitel <dkeitel@codeaurora.org>