Commit 59661404 authored by Sebastian Reichel's avatar Sebastian Reichel Committed by Tomi Valkeinen

drm/omap: panel-dsi-cm: fix remove()

Do not try to reset the panel after DSI has been
detached, since the DSI clocks may have been disabled
at this point. The panel will be disabled and unprepared
before being removed and a reset will be done when being
probed again.
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20201215104657.802264-38-tomi.valkeinen@ti.com
parent 1ecf643f
...@@ -612,9 +612,6 @@ static int dsicm_remove(struct mipi_dsi_device *dsi) ...@@ -612,9 +612,6 @@ static int dsicm_remove(struct mipi_dsi_device *dsi)
if (ddata->extbldev) if (ddata->extbldev)
put_device(&ddata->extbldev->dev); put_device(&ddata->extbldev->dev);
/* reset, to be sure that the panel is in a valid state */
dsicm_hw_reset(ddata);
return 0; return 0;
} }
......
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