mirror of
https://github.com/nxp-imx/linux-imx.git
synced 2025-07-07 18:05:21 +02:00
thunderbolt: Fix debug log when DisplayPort adapter not available for pairing
[ Upstream commit 6b8ac54f31
]
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>
Signed-off-by: Qin Wan <qin.wan@hp.com>
Signed-off-by: Alexandru Gagniuc <alexandru.gagniuc@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
159b1b4530
commit
90135c317d
|
@ -1311,14 +1311,13 @@ 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) {
|
||||
tb_dbg(tb, "no suitable DP IN adapter available, not tunneling\n");
|
||||
|
|
Loading…
Reference in New Issue
Block a user