diff mbox series

[3/7] thunderbolt: Add debug log for link controller power quirk

Message ID 20230517084103.45213-3-mika.westerberg@linux.intel.com (mailing list archive)
State Accepted
Commit ccdb0900a0c3b0b56af5f547cceb64ee8d09483f
Headers show
Series [1/7] thunderbolt: Check for ring 0 in tb_tunnel_alloc_dma() | expand

Commit Message

Mika Westerberg May 17, 2023, 8:40 a.m. UTC
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 | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/thunderbolt/quirks.c b/drivers/thunderbolt/quirks.c
index 928689b66126..854d84148850 100644
--- a/drivers/thunderbolt/quirks.c
+++ b/drivers/thunderbolt/quirks.c
@@ -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)