Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1837de63 authored by Pratham Pratap's avatar Pratham Pratap Committed by Gerrit - the friendly Code Review server
Browse files

usb: phy-msm-ssusb-qmp: Perform USB only reset in USB+DP mode



Consider a case where USB thumb drive and DP is connected to a
multiport adaptor(MPA) and PIPO is performed. If USB3 controller
stops responding to stop endpoint command during MPA disconnect
driver will treat it as HC died and move into error path. Now
let's say, while the driver was handling this next connect came
due to which HC was not able to handle setup packets, which leads
the driver to powercycle the port.This performs global phy reset
of the USB_DP combo phy but DP driver is not notified of this
reset which results in unclocked access of DP link registers.

Fix this by replacing phy global reset with USB
only reset to not affect DP PHY when USB is reset in DP+USB
concurrent mode.

Change-Id: I2acde04c99b84293644fdefdceee4bd00a964e7f
Signed-off-by: default avatarPratham Pratap <prathampratap@codeaurora.org>
parent 28f1b2a9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment