summaryrefslogtreecommitdiff
path: root/scripts/objdiff
diff options
context:
space:
mode:
authorHarry Yang <harryy@codeaurora.org>2016-05-17 17:50:09 -0700
committerKyle Yan <kyan@codeaurora.org>2016-06-09 15:12:42 -0700
commit338cc814ce4ae9e9ea5e1a364ad1a18866e90235 (patch)
treebd49cd44fea5fcd2356e6cb0c44e8f6d9c97f62a /scripts/objdiff
parentfd7c4dad2438382f364794a02c7e951f76e4f87a (diff)
qcom-charger: qpnp-smb2: update usb type on PD_ACTIVE
There is a race condition between setting PD_ACTIVE = 0 and when losing CC. If PD_ACTIVE is not set to 0 by the time the TYPE_C interrupt fires on disconnect then the POWER_SUPPLY_TYPE will not be set to UNKNOWN. Instead of relying on PD_ACTIVE being set to 0 before the TYPE_C interrupt fires, just update the type upon PD_ACTIVE being set. CRs-Fixed: 1017798 Change-Id: Icd62b9d98d5763d209c7de897653f19f8031e236 Signed-off-by: Harry Yang <harryy@codeaurora.org>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions