[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20221115083918.23192-1-r-ravikumar@ti.com>
Date: Tue, 15 Nov 2022 14:09:18 +0530
From: Rahul T R <r-ravikumar@...com>
To: <dri-devel@...ts.freedesktop.org>
CC: <andrzej.hajda@...el.com>, <neil.armstrong@...aro.org>,
<robert.foss@...aro.org>, <Laurent.pinchart@...asonboard.com>,
<jonas@...boo.se>, <jernej.skrabec@...il.com>, <airlied@...il.com>,
<daniel@...ll.ch>, <p.zabel@...gutronix.de>,
<tomi.valkeinen@...asonboard.com>, <linux-kernel@...r.kernel.org>,
<jpawar@...ence.com>, <sjakhade@...ence.com>,
Rahul T R <r-ravikumar@...com>
Subject: [PATCH] drm/bridge: cdns-dsi: Fix issue with phy init
Phy is not being initialized after suspend resume. Fix this by setting
phy_initialized flag to false in suspend callback
Signed-off-by: Rahul T R <r-ravikumar@...com>
---
drivers/gpu/drm/bridge/cdns-dsi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/gpu/drm/bridge/cdns-dsi.c b/drivers/gpu/drm/bridge/cdns-dsi.c
index 20bece84ff8c..1a988f53424a 100644
--- a/drivers/gpu/drm/bridge/cdns-dsi.c
+++ b/drivers/gpu/drm/bridge/cdns-dsi.c
@@ -1187,6 +1187,7 @@ static int __maybe_unused cdns_dsi_suspend(struct device *dev)
clk_disable_unprepare(dsi->dsi_p_clk);
reset_control_assert(dsi->dsi_p_rst);
dsi->link_initialized = false;
+ dsi->phy_initialized = false;
return 0;
}
--
2.38.0
Powered by blists - more mailing lists