Skip to content

Commit

Permalink
thunderbolt: Log DP adapter type
Browse files Browse the repository at this point in the history
This makes it easier to see from the debug logs what type of DisplayPort
adapter is in use or available.

No functional changes.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
  • Loading branch information
Mika Westerberg committed Jan 17, 2023
1 parent 49f2b35 commit b0ef48f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/thunderbolt/tb.c
Original file line number Diff line number Diff line change
Expand Up @@ -882,7 +882,7 @@ static struct tb_port *tb_find_dp_out(struct tb *tb, struct tb_port *in)
continue;

if (tb_port_is_enabled(port)) {
tb_port_dbg(port, "in use\n");
tb_port_dbg(port, "DP OUT in use\n");
continue;
}

Expand Down Expand Up @@ -931,7 +931,7 @@ static void tb_tunnel_dp(struct tb *tb)
continue;

if (tb_port_is_enabled(port)) {
tb_port_dbg(port, "in use\n");
tb_port_dbg(port, "DP IN in use\n");
continue;
}

Expand Down

0 comments on commit b0ef48f

Please sign in to comment.