public inbox for stable@vger.kernel.org
 help / color / mirror / Atom feed
* [REGRESSION][PATCH 5.15 v1] Revert "drm/bridge: lt8912b: Register and attach our DSI device at probe"
@ 2024-02-28 14:59 max.oss.09
  2024-03-04 10:52 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: max.oss.09 @ 2024-02-28 14:59 UTC (permalink / raw)
  To: stable; +Cc: regressions, gregkh, sam, maxime, sashal, Max Krummenacher

From: Max Krummenacher <max.krummenacher@toradex.com>

This reverts commit ef4a40953c8076626875ff91c41e210fcee7a6fd.

The commit was applied to make further commits apply cleanly, but the
commit depends on other commits in the same patchset. I.e. the
controlling DSI host would need a change too. Thus one would need to
backport the full patchset changing the DSI hosts and all downstream
DSI device drivers.

Revert the commit and fix up the conflicts with the backported fixes
to the lt8912b driver.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>

Conflicts:
	drivers/gpu/drm/bridge/lontium-lt8912b.c
---
 drivers/gpu/drm/bridge/lontium-lt8912b.c | 11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

diff --git a/drivers/gpu/drm/bridge/lontium-lt8912b.c b/drivers/gpu/drm/bridge/lontium-lt8912b.c
index 6891863ed5104..e16b0fc0cda0f 100644
--- a/drivers/gpu/drm/bridge/lontium-lt8912b.c
+++ b/drivers/gpu/drm/bridge/lontium-lt8912b.c
@@ -571,6 +571,10 @@ static int lt8912_bridge_attach(struct drm_bridge *bridge,
 	if (ret)
 		goto error;
 
+	ret = lt8912_attach_dsi(lt);
+	if (ret)
+		goto error;
+
 	return 0;
 
 error:
@@ -726,15 +730,8 @@ static int lt8912_probe(struct i2c_client *client,
 
 	drm_bridge_add(&lt->bridge);
 
-	ret = lt8912_attach_dsi(lt);
-	if (ret)
-		goto err_attach;
-
 	return 0;
 
-err_attach:
-	drm_bridge_remove(&lt->bridge);
-	lt8912_free_i2c(lt);
 err_i2c:
 	lt8912_put_dt(lt);
 err_dt_parse:
-- 
2.42.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [REGRESSION][PATCH 5.15 v1] Revert "drm/bridge: lt8912b: Register and attach our DSI device at probe"
  2024-02-28 14:59 [REGRESSION][PATCH 5.15 v1] Revert "drm/bridge: lt8912b: Register and attach our DSI device at probe" max.oss.09
@ 2024-03-04 10:52 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2024-03-04 10:52 UTC (permalink / raw)
  To: max.oss.09; +Cc: stable, regressions, sam, maxime, sashal, Max Krummenacher

On Wed, Feb 28, 2024 at 03:59:45PM +0100, max.oss.09@gmail.com wrote:
> From: Max Krummenacher <max.krummenacher@toradex.com>
> 
> This reverts commit ef4a40953c8076626875ff91c41e210fcee7a6fd.
> 
> The commit was applied to make further commits apply cleanly, but the
> commit depends on other commits in the same patchset. I.e. the
> controlling DSI host would need a change too. Thus one would need to
> backport the full patchset changing the DSI hosts and all downstream
> DSI device drivers.
> 
> Revert the commit and fix up the conflicts with the backported fixes
> to the lt8912b driver.
> 
> Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
> 
> Conflicts:
> 	drivers/gpu/drm/bridge/lontium-lt8912b.c

No need for the "conflicts" section...

now queued up, thanks.

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-03-04 10:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-28 14:59 [REGRESSION][PATCH 5.15 v1] Revert "drm/bridge: lt8912b: Register and attach our DSI device at probe" max.oss.09
2024-03-04 10:52 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox