msm_otg: Fix LPM issue on removing Host cable
Device is not entering into LPM on removing Host Cable. msm_otg_suspend is aborted due to inputs bit is set with A_BUS_REQ which is check before going ahead and preparing device for clock OFF and LPM state. A_BUS_REQ is being set from msm_otg_set_suspend() called from ehci runtime resume when removing Micro A cable. Fix side effect of commit 572092fe ("USB: msm_otg: Always update state machine inputs during bus suspend/resume") by clearing A_BUS_REQ bit with inputs when removing charger work from OTG_STATE_B_IDLE. CRs-Fixed: 444160 Change-Id: I5325d2965ecc754ff54b297047603acda5801aae Signed-off-by:Mayank Rana <mrana@codeaurora.org>
Loading
Please sign in to comment