linux/drivers/thunderbolt
Mika Westerberg 701f9c3da6 thunderbolt: Use correct function to calculate maximum USB3 link rate
commit e8ff07fb33 upstream.

We need to take minimum of both sides of the USB3 link into consideration,
not just the downstream port. Fix this by calling tb_usb3_max_link_rate()
instead.

Fixes: 0bd680cd90 ("thunderbolt: Add USB3 bandwidth management")
Cc: stable@vger.kernel.org
Acked-by: Yehezkel Bernat <YehezkelShB@gmail.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-01-24 07:22:46 +01:00
..
Kconfig
Makefile
acpi.c
cap.c
ctl.c
ctl.h
debugfs.c
dma_port.c
dma_port.h
dma_test.c
domain.c
eeprom.c
icm.c
lc.c
nhi.c
nhi.h
nhi_ops.c
nhi_regs.h
nvm.c
path.c
property.c
quirks.c
retimer.c
sb_regs.h
switch.c
tb.c
tb.h
tb_msgs.h
tb_regs.h
test.c
tmu.c
tunnel.c thunderbolt: Use correct function to calculate maximum USB3 link rate 2023-01-24 07:22:46 +01:00
tunnel.h
usb4.c
usb4_port.c
xdomain.c