diff mbox series

[4/5] thunderbolt: Apply USB 3.x bandwidth quirk only in software connection manager

Message ID 20230911100445.3612655-5-mika.westerberg@linux.intel.com
State New
Headers show
Series [1/5] thunderbolt: Workaround an IOMMU fault on certain systems with Intel Maple Ridge | expand

Commit Message

Mika Westerberg Sept. 11, 2023, 10:04 a.m. UTC
This is not needed when firmware connection manager is run so limit this
to software connection manager.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
---
 drivers/thunderbolt/quirks.c | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

diff --git a/drivers/thunderbolt/quirks.c b/drivers/thunderbolt/quirks.c
index 488138a28ae1..e6bfa63b40ae 100644
--- a/drivers/thunderbolt/quirks.c
+++ b/drivers/thunderbolt/quirks.c
@@ -31,6 +31,9 @@  static void quirk_usb3_maximum_bandwidth(struct tb_switch *sw)
 {
 	struct tb_port *port;
 
+	if (tb_switch_is_icm(sw))
+		return;
+
 	tb_switch_for_each_port(sw, port) {
 		if (!tb_port_is_usb3_down(port))
 			continue;