USB: ehci-msm2: Fix USB lpm issue after failure to suspend PHY
Whenever suspend routine is called and if fails to suspend PHY, will return -ETIMEDOUT to PM core. Due to this, PM core will set runtime error flag for the device. This leads to subsequent suspend routines are not being called and USB does not enter low power mode. Hence disable runtime PM and reenable it after recovery mechanism of removing and adding hcd. Change-Id: I44cc4c7c624887dfc1ecd23bd57f460479cb3f26 Signed-off-by:Wesley Cheng <wcheng@codeaurora.org> Signed-off-by:
Vijayavardhan Vennapusa <vvreddy@codeaurora.org>
Loading
Please register or sign in to comment