Skip to content
Commit 3e7dcb50 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

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: default avatarHemant Kumar <hemantk@codeaurora.org>
parent c70d827b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment