Skip to content

Commit 9e4d3f4

Browse files
committed
drm/panel: visionox-rm69299: don't unregister DSI device
The DSI device for the panel was registered by the DSI host, so it is an error to unregister it from the panel driver. Drop the call to mipi_dsi_device_unregister(). Fixes: c7f66d3 ("drm/panel: add support for rm69299 visionox panel") Reviewed-by: Jessica Zhang <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent bf52d7f commit 9e4d3f4

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/panel/panel-visionox-rm69299.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,8 +253,6 @@ static void visionox_rm69299_remove(struct mipi_dsi_device *dsi)
253253
struct visionox_rm69299 *ctx = mipi_dsi_get_drvdata(dsi);
254254

255255
mipi_dsi_detach(ctx->dsi);
256-
mipi_dsi_device_unregister(ctx->dsi);
257-
258256
drm_panel_remove(&ctx->panel);
259257
}
260258

0 commit comments

Comments
 (0)