summaryrefslogtreecommitdiffstats
path: root/drivers/thunderbolt/tb.c
diff options
context:
space:
mode:
authorGil Fine <gil.fine@linux.intel.com>2023-11-15 11:09:58 +0100
committerMika Westerberg <mika.westerberg@linux.intel.com>2023-12-14 07:07:45 +0100
commit0b663ec9fe07e5c46ede45da75951eb11fc2f215 (patch)
treef5e5fdc24bb893c704b121c64f6fb0a337d7fd95 /drivers/thunderbolt/tb.c
parentthunderbolt: Use tb_dp_read_cap() to read DP_COMMON_CAP as well (diff)
downloadlinux-0b663ec9fe07e5c46ede45da75951eb11fc2f215.tar.xz
linux-0b663ec9fe07e5c46ede45da75951eb11fc2f215.zip
thunderbolt: Improve logging when DisplayPort resource is added due to hotplug
To allow us differentiate how DisplayPort resource is added to the DisplayPort resources list make the debug log to append "hotplug" when this was due to an actual hotplug. Signed-off-by: Gil Fine <gil.fine@linux.intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Diffstat (limited to 'drivers/thunderbolt/tb.c')
-rw-r--r--drivers/thunderbolt/tb.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/thunderbolt/tb.c b/drivers/thunderbolt/tb.c
index cf1a20a33b9a..bd211e97ee4b 100644
--- a/drivers/thunderbolt/tb.c
+++ b/drivers/thunderbolt/tb.c
@@ -1903,7 +1903,7 @@ static void tb_dp_resource_available(struct tb *tb, struct tb_port *port)
return;
}
- tb_port_dbg(port, "DP %s resource available\n",
+ tb_port_dbg(port, "DP %s resource available after hotplug\n",
tb_port_is_dpin(port) ? "IN" : "OUT");
list_add_tail(&port->list, &tcm->dp_resources);