drm/panel : himax-hx83102: fix incorrect argument to mipi_dsi_msleep
Subsystems (3)
PATCH 1/1 drm/panel : himax-hx83102: fix incorrect argument to mipi_dsi_msleep
From: Tejas Vipin <[email protected]>
Subject: [PATCH] drm/panel : himax-hx83102: fix incorrect argument to
mipi_dsi_msleep
mipi_dsi_msleep expects struct mipi_dsi_multi_context to be passed as a value and not as a reference.
Signed-off-by Tejas Vipin <[email protected]>
--- drivers/gpu/drm/panel/panel-himax-hx83102.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/panel/panel-himax-hx83102.c +1 -1
@@ -479,7 +479,7 @@ static int hx83102_disable(struct drm_panel *panel)mipi_dsi_dcs_set_display_off_multi (&dsi_ctx);mipi_dsi_dcs_enter_sleep_mode_multi (&dsi_ctx); -mipi_dsi_msleep (&dsi_ctx,150 ); +mipi_dsi_msleep (dsi_ctx,150 );return dsi_ctx.accum_err; }
Signature · 1 line
2.45.2
[email protected]
maintainerQuoted 8 lines · Tejas Vipin
From: Tejas Vipin <[email protected]>
Subject: [PATCH] drm/panel : himax-hx83102: fix incorrect argument to
mipi_dsi_msleep
mipi_dsi_msleepexpects structmipi_dsi_multi_contextto be passed as a value and not as a reference.
Please add a Fixes tag
Quoted 10 lines
Signed-off-by Tejas Vipin <[email protected]>--- drivers/gpu/drm/panel/panel-himax-hx83102.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/panel/panel-himax-hx83102.c +0
-0
drivers/gpu/drm/panel/panel-himax-hx83102.c static int hx83102_disable(struct drm_panel *panel) · line 485
Quoted 8 lines
drivers/gpu/drm/panel/panel-himax-hx83102.c +1
-1@@ -479,7 +479,7 @@ static int hx83102_disable(struct drm_panel *panel)mipi_dsi_dcs_set_display_off_multi (&dsi_ctx);mipi_dsi_dcs_enter_sleep_mode_multi (&dsi_ctx); -mipi_dsi_msleep (&dsi_ctx,150 ); +mipi_dsi_msleep (dsi_ctx,150 );return dsi_ctx.accum_err; }
Thanks,
Neil