[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20241001173109.1513-2-alexandru.gagniuc@hp.com>
Date: Tue, 1 Oct 2024 17:30:56 +0000
From: Alexandru Gagniuc <alexandru.gagniuc@...com>
To: gregkh@...uxfoundation.org,
stable@...r.kernel.org
Cc: qin.wan@...com,
andreas.noever@...il.com,
michael.jamet@...el.com,
mika.westerberg@...ux.intel.com,
YehezkelShB@...il.com,
linux-usb@...r.kernel.org,
linux-kernel@...r.kernel.org,
Gil Fine <gil.fine@...ux.intel.com>,
Alexandru Gagniuc <alexandru.gagniuc@...com>
Subject: [PATCH 6.6 01/14] thunderbolt: Fix debug log when DisplayPort adapter not available for pairing
From: Gil Fine <gil.fine@...ux.intel.com>
[ Upstream commit 6b8ac54f31f985d3abb0b4212187838dd8ea4227 ]
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@...ux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@...ux.intel.com>
Signed-off-by: Qin Wan <qin.wan@...com>
Signed-off-by: Alexandru Gagniuc <alexandru.gagniuc@...com>
---
drivers/thunderbolt/tb.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/thunderbolt/tb.c b/drivers/thunderbolt/tb.c
index c5e10c1d4c38..6fc300edad68 100644
--- a/drivers/thunderbolt/tb.c
+++ b/drivers/thunderbolt/tb.c
@@ -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) {
--
2.45.1
Powered by blists - more mailing lists