usb: phy: qmp: Do not reset phy mode in DP+USB concurrent mode
QMP phy driver resets phy mode to usb in phy suspend path for
cable disconnect case. When USB3 controller stops responding
to stop endpoint command driver performs USB host mode recovery.
During this QMP PHY set_suspend for suspend called with cable
disconnected case and reset the phy mode to usb. But DP driver
is not notified of this reset which results DP is doing to bad sate
and causing unmapped access of registers from DP driver.
Fix this issue by adding proper check to do not reset the
phy mode in DP+USB concurrent mode.
Change-Id: I00ec1850060c74c7c76529b4f39476e384ce1022
Signed-off-by:
Chandana Kishori Chiluveru <cchiluve@codeaurora.org>
Loading
Please register or sign in to comment