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: I0dadca78c8ead9ccd48f25d958015885b28917c1
Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
2 files changed