From: Mika Westerberg Date: Fri, 25 Aug 2023 07:10:35 +0000 (+0300) Subject: thunderbolt: Apply USB 3.x bandwidth quirk only in software connection manager X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=0c35ac18256942e66d8dab6ca049185812e60c69;p=linux.git thunderbolt: Apply USB 3.x bandwidth quirk only in software connection manager This is not needed when firmware connection manager is run so limit this to software connection manager. Signed-off-by: Mika Westerberg --- diff --git a/drivers/thunderbolt/quirks.c b/drivers/thunderbolt/quirks.c index 488138a28ae13..e6bfa63b40aee 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;