summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMika Westerberg <mika.westerberg@linux.intel.com>2023-02-03 14:57:59 +0100
committerMika Westerberg <mika.westerberg@linux.intel.com>2023-05-24 08:39:35 +0200
commitf14d177e0be652ef7b265753f08f2a7d31935668 (patch)
treeab6792777b5e265f402ae71ee0f4a89c6c80a65f
parentthunderbolt: Check for ring 0 in tb_tunnel_alloc_dma() (diff)
downloadlinux-f14d177e0be652ef7b265753f08f2a7d31935668.tar.xz
linux-f14d177e0be652ef7b265753f08f2a7d31935668.zip
thunderbolt: Log function name of the called quirk
This is useful when debugging whether a quirk has been matched or not. Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
-rw-r--r--drivers/thunderbolt/quirks.c1
1 files changed, 1 insertions, 0 deletions
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);
}
}