mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 13:53:33 +00:00
thunderbolt: Fix debug log when DisplayPort adapter not available for pairing
Fix debug log when looking for a DisplayPort adapter pair of DP IN and DP OUT. In case of no DP adapter available, log the type of the DP adapter that is not available. Signed-off-by: Gil Fine <gil.fine@linux.intel.com> Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
This commit is contained in:
parent
9e4f5b2af2
commit
6b8ac54f31
1 changed files with 3 additions and 4 deletions
|
@ -1311,13 +1311,12 @@ static void tb_tunnel_dp(struct tb *tb)
|
|||
continue;
|
||||
}
|
||||
|
||||
tb_port_dbg(port, "DP IN available\n");
|
||||
in = port;
|
||||
tb_port_dbg(in, "DP IN available\n");
|
||||
|
||||
out = tb_find_dp_out(tb, port);
|
||||
if (out) {
|
||||
in = port;
|
||||
if (out)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if (!in) {
|
||||
|
|
Loading…
Reference in a new issue