]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
thunderbolt: Add debug log for link controller power quirk
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 27 Feb 2023 10:45:09 +0000 (12:45 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 24 May 2023 06:39:35 +0000 (09:39 +0300)
Add a debug log to this quirk as well so we can see what quirks have
been applied when debugging.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/quirks.c

index 928689b66126eda5ed988aab12114b2df53ab705..854d84148850396adcd89c21811623ce023a2156 100644 (file)
@@ -10,6 +10,7 @@
 static void quirk_force_power_link(struct tb_switch *sw)
 {
        sw->quirks |= QUIRK_FORCE_POWER_LINK_CONTROLLER;
+       tb_sw_dbg(sw, "forcing power to link controller\n");
 }
 
 static void quirk_dp_credit_allocation(struct tb_switch *sw)