Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9065cd49 authored by Manu Gautam's avatar Manu Gautam Committed by Gerrit - the friendly Code Review server
Browse files

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: default avatarManu Gautam <mgautam@codeaurora.org>
parent 365fabdd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment