mirror of
https://github.com/torvalds/linux.git
synced 2026-06-04 20:46:48 +02:00
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: 069a6c0e94 ("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
This commit is contained in:
parent
5f0cc92fa0
commit
cbc1e99a9e
|
|
@ -300,10 +300,6 @@ static void sw43408_remove(struct mipi_dsi_device *dsi)
|
|||
struct sw43408_panel *ctx = mipi_dsi_get_drvdata(dsi);
|
||||
int ret;
|
||||
|
||||
ret = sw43408_unprepare(&ctx->base);
|
||||
if (ret < 0)
|
||||
dev_err(&dsi->dev, "failed to unprepare panel: %d\n", ret);
|
||||
|
||||
ret = mipi_dsi_detach(dsi);
|
||||
if (ret < 0)
|
||||
dev_err(&dsi->dev, "failed to detach from DSI host: %d\n", ret);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user