Commit 572092fe authored by Pavankumar Kondeti's avatar Pavankumar Kondeti
Browse files

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: default avatarPavankumar Kondeti <pkondeti@codeaurora.org>
parent 5375a36d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment