USB: phy: msm: Perform runtimePM_put as soon as SDP is detected
Charger work performs runtime PM put after charger detection is
complete. In case of SDP, it marks charger state as DETECTED
and queues chg_work. If charger work is cancelled (due to VBUS low)
then runtimePM put from chg_work could have been missed.
Since, chg_state is DETECTED to sm_work ends up with extra pm
usage count.
Change-Id: I962ce562c035d60f3cbc8a91d998c92870c15019
Signed-off-by:
Manu Gautam <mgautam@codeaurora.org>
Loading
Please register or sign in to comment