usb: phy-msm-susb-qmp: power down phy upon disconnect notification
USB type-C compliance test 4.5.6(DRP Connect Try.SNK DRP) is failing
because super speed communication(link layer) does not stop upon
moving from Attached.SRC to Unattached.SNK state. This happens because
in Attached.SRC state hub driver performs re-tries to enumerate the
device(exerciser) and upon failure resets the bus. As a result in the
middle of re-tries when cc line gets disconnected, unloading XHCI stack
takes longer to finish and auto suspend kicks in afterwards to initiate
mdwc runtime suspend which powers down ss phy. Hence power down ss phy as
soon as phy disconnect notification comes which happens before XHCI driver
is unloaded.
Change-Id: I83578fb09564f56df2746870c6e39ab86547448d
Signed-off-by: Hemant Kumar <hemantk@codeaurora.org>
Loading
Please register or sign in to comment