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

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: ea4f9975625a ("drm/panel: Add support for Novatek NT36672E panel driver")
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-2-9f56953c5fb9@linaro.org

-2
-2
drivers/gpu/drm/panel/panel-novatek-nt36672e.c
··· 614 614 struct nt36672e_panel *ctx = mipi_dsi_get_drvdata(dsi); 615 615 616 616 mipi_dsi_detach(ctx->dsi); 617 - mipi_dsi_device_unregister(ctx->dsi); 618 - 619 617 drm_panel_remove(&ctx->panel); 620 618 } 621 619