mirror of
https://github.com/LineageOS/android_kernel_samsung_msm8226.git
synced 2026-09-29 00:00:25 +02:00
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>