Skip to content

Commit 941c0bd

Browse files
committed
drm/panel: novatek-nt36682e: 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: ea4f997 ("drm/panel: Add support for Novatek NT36672E panel driver") Reviewed-by: Jessica Zhang <[email protected]> Signed-off-by: Dmitry Baryshkov <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
1 parent 9e4d3f4 commit 941c0bd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/gpu/drm/panel/panel-novatek-nt36672e.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -614,8 +614,6 @@ static void nt36672e_panel_remove(struct mipi_dsi_device *dsi)
614614
struct nt36672e_panel *ctx = mipi_dsi_get_drvdata(dsi);
615615

616616
mipi_dsi_detach(ctx->dsi);
617-
mipi_dsi_device_unregister(ctx->dsi);
618-
619617
drm_panel_remove(&ctx->panel);
620618
}
621619

0 commit comments

Comments
 (0)