Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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: c7f66d32dd43 ("drm/panel: add support for rm69299 visionox panel")
Reviewed-by: Jessica Zhang <quic_jesszhan@quicinc.com>
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240404-drop-panel-unregister-v1-1-9f56953c5fb9@linaro.org

-2
-2
drivers/gpu/drm/panel/panel-visionox-rm69299.c
··· 253 253 struct visionox_rm69299 *ctx = mipi_dsi_get_drvdata(dsi); 254 254 255 255 mipi_dsi_detach(ctx->dsi); 256 - mipi_dsi_device_unregister(ctx->dsi); 257 - 258 256 drm_panel_remove(&ctx->panel); 259 257 } 260 258