Skip to content

Commit

Permalink
thunderbolt: Apply USB 3.x bandwidth quirk only in software connectio…
Browse files Browse the repository at this point in the history
…n manager

[ Upstream commit 0c35ac1 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
westeri authored and gregkh committed Nov 28, 2023
1 parent b80aaff commit d695763
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions drivers/thunderbolt/quirks.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,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;
Expand Down

0 comments on commit d695763

Please sign in to comment.