Commit 6b8ac54f authored by Gil Fine's avatar Gil Fine Committed by Mika Westerberg

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: default avatarGil Fine <gil.fine@linux.intel.com>
Signed-off-by: default avatarMika Westerberg <mika.westerberg@linux.intel.com>
parent 9e4f5b2a
...@@ -1311,13 +1311,12 @@ static void tb_tunnel_dp(struct tb *tb) ...@@ -1311,13 +1311,12 @@ static void tb_tunnel_dp(struct tb *tb)
continue; 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); out = tb_find_dp_out(tb, port);
if (out) { if (out)
in = port;
break; break;
}
} }
if (!in) { if (!in) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment