diff options
author | Mika Westerberg <mika.westerberg@linux.intel.com> | 2023-02-03 16:57:59 +0300 |
---|---|---|
committer | Mika Westerberg <mika.westerberg@linux.intel.com> | 2023-05-24 09:39:35 +0300 |
commit | f14d177e0be652ef7b265753f08f2a7d31935668 (patch) | |
tree | ab6792777b5e265f402ae71ee0f4a89c6c80a65f /drivers/thunderbolt | |
parent | 814c96c959cfc147ecf8bf9ae3f34b8361316316 (diff) | |
download | linux-f14d177e0be652ef7b265753f08f2a7d31935668.tar.xz |
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>
Diffstat (limited to 'drivers/thunderbolt')
-rw-r--r-- | drivers/thunderbolt/quirks.c | 1 |
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); } } |