]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
thunderbolt: Log function name of the called quirk
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 3 Feb 2023 13:57:59 +0000 (15:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Apr 2024 15:07:10 +0000 (17:07 +0200)
[ Upstream commit f14d177e0be652ef7b265753f08f2a7d31935668 ]

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>
drivers/thunderbolt/quirks.c

index 638cb5fb22c110d2829261e954a39faca9486a6e..13719a851c71969b9381240c7f69ebda0f9e1bdd 100644 (file)
@@ -130,6 +130,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);
        }
 }