USB: msm_otg: Always update state machine inputs during bus suspend/resume
UDC and HCD call usb_phy_set_suspend() to enter/exit LPM during bus
suspend/resume. The current code simply return if the hardware is
already in the requested state. OTG driver resume the hardware upon
receiving remote wakeup from the attached peripheral. The OTG state
and state machine inputs are not updated later when HCD requests resume.
This OTG state is stuck in A_SUSPEND after bus resume and next suspend
requests are ignored.
CRs-fixed: 425108
Change-Id: Icc276337166a09c81188f71279a1276013bebc4f
Signed-off-by:
Pavankumar Kondeti <pkondeti@codeaurora.org>
Loading
Please sign in to comment