diff options
author | Gil Fine <[email protected]> | 2023-11-15 12:09:58 +0200 |
---|---|---|
committer | Mika Westerberg <[email protected]> | 2023-12-14 08:07:45 +0200 |
commit | 0b663ec9fe07e5c46ede45da75951eb11fc2f215 (patch) | |
tree | f5e5fdc24bb893c704b121c64f6fb0a337d7fd95 | |
parent | 97e0a21ce835603b81a5c11de5bf45820194db10 (diff) |
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 <[email protected]>
Signed-off-by: Mika Westerberg <[email protected]>
-rw-r--r-- | drivers/thunderbolt/tb.c | 2 |
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); |