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

Configure Feed

Select the types of activity you want to include in your feed.

drm/panel: sw43408: Remove manual invocation of unprepare at remove

The drm_panel_remove should take care of disable/unprepare. Remove the
manual call from the sw43408_remove function.

Fixes: 069a6c0e94f9 ("drm: panel: Add LG sw43408 panel driver")
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com>
Signed-off-by: David Heidelberg <david@ixit.cz>
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patch.msgid.link/20251214-pixel-3-v7-5-b1c0cf6f224d@ixit.cz

authored by

David Heidelberg and committed by
Neil Armstrong
cbc1e99a 5f0cc92f

-4
-4
drivers/gpu/drm/panel/panel-lg-sw43408.c
··· 300 300 struct sw43408_panel *ctx = mipi_dsi_get_drvdata(dsi); 301 301 int ret; 302 302 303 - ret = sw43408_unprepare(&ctx->base); 304 - if (ret < 0) 305 - dev_err(&dsi->dev, "failed to unprepare panel: %d\n", ret); 306 - 307 303 ret = mipi_dsi_detach(dsi); 308 304 if (ret < 0) 309 305 dev_err(&dsi->dev, "failed to detach from DSI host: %d\n", ret);