diff mbox series

[2/7] thunderbolt: Log function name of the called quirk

Message ID 20230517084103.45213-2-mika.westerberg@linux.intel.com (mailing list archive)
State Accepted
Commit f14d177e0be652ef7b265753f08f2a7d31935668
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
This is useful when debugging whether a quirk has been matched or not.

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 1157b8869bcc..928689b66126 100644
--- a/drivers/thunderbolt/quirks.c
+++ b/drivers/thunderbolt/quirks.c
@@ -105,6 +105,7 @@  void tb_check_quirks(struct tb_switch *sw)
 		if (q->device && q->device != sw->device)
 			continue;
 
+		tb_sw_dbg(sw, "running %ps\n", q->hook);
 		q->hook(sw);
 	}
 }