thunderbolt: Log function name of the called quirk

[ Upstream commit f14d177e0b ]

This is useful when debugging whether a quirk has been matched or not.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Mika Westerberg
2023-02-03 15:57:59 +02:00
committed by Greg Kroah-Hartman
parent 4b7ed2400e
commit 932a765100

View File

@@ -130,6 +130,7 @@ void tb_check_quirks(struct tb_switch *sw)
if (q->device && q->device != sw->device) if (q->device && q->device != sw->device)
continue; continue;
tb_sw_dbg(sw, "running %ps\n", q->hook);
q->hook(sw); q->hook(sw);
} }
} }