summaryrefslogtreecommitdiff
path: root/security/selinux/hooks.c
diff options
context:
space:
mode:
authorHemant Kumar <hemantk@codeaurora.org>2017-09-25 18:01:23 -0700
committerGerrit - the friendly Code Review server <code-review@localhost>2018-01-18 21:39:41 -0800
commit3fcc117fac678bcfdf8fa5f3a61c3772b28f0551 (patch)
tree0366e0712a5e3b153eb89b123bd75b9ee3da2a05 /security/selinux/hooks.c
parent6b202df713d7dafef2df0e9ef1c97c6632c60eac (diff)
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>
Diffstat (limited to 'security/selinux/hooks.c')
0 files changed, 0 insertions, 0 deletions