Skip to content

Commit 39144b6

Browse files
agxsuperna9999
authored andcommitted
drm/panel: visionox-rm69299: Don't clear all mode flags
Don't clear all mode flags. We only want to maek sure we use HS mode during unprepare. Fixes: c7f66d3 ("drm/panel: add support for rm69299 visionox panel") Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org> Signed-off-by: Guido Günther <agx@sigxcpu.org> Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@oss.qualcomm.com> Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org> Link: https://lore.kernel.org/r/20250910-shift6mq-panel-v3-2-a7729911afb9@sigxcpu.org
1 parent d298062 commit 39144b6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/gpu/drm/panel/panel-visionox-rm69299.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ static int visionox_rm69299_unprepare(struct drm_panel *panel)
192192
struct visionox_rm69299 *ctx = panel_to_ctx(panel);
193193
struct mipi_dsi_multi_context dsi_ctx = { .dsi = ctx->dsi };
194194

195-
ctx->dsi->mode_flags = 0;
195+
ctx->dsi->mode_flags &= ~MIPI_DSI_MODE_LPM;
196196

197197
mipi_dsi_dcs_set_display_off_multi(&dsi_ctx);
198198

0 commit comments

Comments
 (0)