aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdnsp-debug.h
diff options
context:
space:
mode:
authorRD Babiera <[email protected]>2025-06-18 23:06:04 +0000
committerGreg Kroah-Hartman <[email protected]>2025-06-24 14:42:24 +0000
commitbec15191d52300defa282e3fd83820f69e447116 (patch)
tree65321a94f0d93dea80bfc30eadff6106ea739158 /drivers/usb/cdns3/cdnsp-debug.h
parentRevert "usb: xhci: Implement xhci_handshake_check_state() helper" (diff)
downloadkernel-bec15191d52300defa282e3fd83820f69e447116.tar.gz
kernel-bec15191d52300defa282e3fd83820f69e447116.zip
usb: typec: tcpm: apply vbus before data bringup in tcpm_src_attach
This patch fixes Type-C compliance test TD 4.7.6 - Try.SNK DRP Connect SNKAS. tVbusON has a limit of 275ms when entering SRC_ATTACHED. Compliance testers can interpret the TryWait.Src to Attached.Src transition after Try.Snk as being in Attached.Src the entire time, so ~170ms is lost to the debounce timer. Setting the data role can be a costly operation in host mode, and when completed after 100ms can cause Type-C compliance test check TD 4.7.5.V.4 to fail. Turn VBUS on before tcpm_set_roles to meet timing requirement. Fixes: f0690a25a140 ("staging: typec: USB Type-C Port Manager (tcpm)") Cc: stable <[email protected]> Signed-off-by: RD Babiera <[email protected]> Reviewed-by: Badhri Jagan Sridharan <[email protected]> Reviewed-by: Heikki Krogerus <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-debug.h')
0 files changed, 0 insertions, 0 deletions