Skip to content

Commit 0c08402

Browse files
committed
Merge tag 'thunderbolt-for-v6.12-rc7' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt into usb-linus
thunderbolt: Fixes for v6.12-rc7 This includes following USB4/Thunderbolt fixes for v6.12-rc7: - Fix for retimer enumeration. - Fix connection issue with Pluggable UD-4VPD USB4 dock. Both have been in linux-next with no reported issues. * tag 'thunderbolt-for-v6.12-rc7' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/westeri/thunderbolt: thunderbolt: Fix connection issue with Pluggable UD-4VPD dock thunderbolt: Add only on-board retimers when !CONFIG_USB4_DEBUGFS_MARGINING
2 parents 7dd08a0 + bd646c7 commit 0c08402

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

drivers/thunderbolt/retimer.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -532,6 +532,8 @@ int tb_retimer_scan(struct tb_port *port, bool add)
532532
}
533533

534534
ret = 0;
535+
if (!IS_ENABLED(CONFIG_USB4_DEBUGFS_MARGINING))
536+
max = min(last_idx, max);
535537

536538
/* Add retimers if they do not exist already */
537539
for (i = 1; i <= max; i++) {

drivers/thunderbolt/usb4.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ enum usb4_ba_index {
4848

4949
/* Delays in us used with usb4_port_wait_for_bit() */
5050
#define USB4_PORT_DELAY 50
51-
#define USB4_PORT_SB_DELAY 5000
51+
#define USB4_PORT_SB_DELAY 1000
5252

5353
static int usb4_native_switch_op(struct tb_switch *sw, u16 opcode,
5454
u32 *metadata, u8 *status,

0 commit comments

Comments
 (0)