aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/vmalloc.c
diff options
context:
space:
mode:
authorRD Babiera <[email protected]>2025-04-29 23:47:01 +0000
committerGreg Kroah-Hartman <[email protected]>2025-05-01 15:41:03 +0000
commite918d3959b5ae0e793b8f815ce62240e10ba03a4 (patch)
tree7a417bc58b707a3ea74ccd02d23f2c1a973cc23e /rust/helpers/vmalloc.c
parentUSB: usbtmc: use interruptible sleep in usbtmc_read (diff)
downloadkernel-e918d3959b5ae0e793b8f815ce62240e10ba03a4.tar.gz
kernel-e918d3959b5ae0e793b8f815ce62240e10ba03a4.zip
usb: typec: tcpm: delay SNK_TRY_WAIT_DEBOUNCE to SRC_TRYWAIT transition
This patch fixes Type-C Compliance Test TD 4.7.6 - Try.SNK DRP Connect SNKAS. The compliance tester moves into SNK_UNATTACHED during toggling and expects the PUT to apply Rp after tPDDebounce of detection. If the port is in SNK_TRY_WAIT_DEBOUNCE, it will move into SRC_TRYWAIT immediately and apply Rp. This violates TD 4.7.5.V.3, where the tester confirms that the PUT attaches Rp after the transitions to Unattached.SNK for tPDDebounce. Change the tcpm_set_state delay between SNK_TRY_WAIT_DEBOUNCE and SRC_TRYWAIT to tPDDebounce. Fixes: a0a3e04e6b2c ("staging: typec: tcpm: Check for Rp for tPDDebounce") 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 'rust/helpers/vmalloc.c')
0 files changed, 0 insertions, 0 deletions