diff mbox series

Fix build [Was: [PATCH 2/2] drm/panel: Add support for Sharp LS060T1SX01 panel]

Message ID YWHMYgL2o+uzdTUi@ravnborg.org (mailing list archive)
State New, archived
Headers show
Series Fix build [Was: [PATCH 2/2] drm/panel: Add support for Sharp LS060T1SX01 panel] | expand

Commit Message

Sam Ravnborg Oct. 9, 2021, 5:07 p.m. UTC
Applied this but forgot to commit the build fix:

commit 1ae669fe083fda99e465ae6ab2c533658bdb846e
Author: Sam Ravnborg <sam@ravnborg.org>
Date:   Sat Oct 9 19:02:48 2021 +0200

    drm/panel: sharp-ls060t1sx01: fix build
    
    Update MIPI_DSI_MODE_EOT_PACKET to the new MIPI_DSI_MODE_NO_EOT_PACKET
    variant.
    This fixes the build - I had not committed the fix (blush).
    
    Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
    Fixes: 223cce88a926 ("drm/panel: Add support for Sharp LS060T1SX01 panel")
    Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>

Comments

Sam Ravnborg Oct. 9, 2021, 5:10 p.m. UTC | #1
On Sat, Oct 09, 2021 at 07:07:46PM +0200, Sam Ravnborg wrote:
> Applied this but forgot to commit the build fix:
> 
> commit 1ae669fe083fda99e465ae6ab2c533658bdb846e
> Author: Sam Ravnborg <sam@ravnborg.org>
> Date:   Sat Oct 9 19:02:48 2021 +0200
> 
>     drm/panel: sharp-ls060t1sx01: fix build
>     
>     Update MIPI_DSI_MODE_EOT_PACKET to the new MIPI_DSI_MODE_NO_EOT_PACKET
>     variant.
>     This fixes the build - I had not committed the fix (blush).
>     
>     Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
>     Fixes: 223cce88a926 ("drm/panel: Add support for Sharp LS060T1SX01 panel")
>     Cc: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
> 
> diff --git a/drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c b/drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c
> index 1049810d1f10..ed5f28c8c90b 100644
> --- a/drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c
> +++ b/drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c
> @@ -275,7 +275,7 @@ static int sharp_ls060_probe(struct mipi_dsi_device *dsi)
>  	dsi->lanes = 4;
>  	dsi->format = MIPI_DSI_FMT_RGB888;
>  	dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
> -			  MIPI_DSI_MODE_EOT_PACKET |
> +			  MIPI_DSI_MODE_NO_EOT_PACKET |
>  			  MIPI_DSI_CLOCK_NON_CONTINUOUS;
>  
>  	drm_panel_init(&ctx->panel, dev, &sharp_ls060_panel_funcs,

Seems I need more coffee, this patch should never have hit
drm-misc-next. I will revert it.

	Sam
diff mbox series

Patch

diff --git a/drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c b/drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c
index 1049810d1f10..ed5f28c8c90b 100644
--- a/drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c
+++ b/drivers/gpu/drm/panel/panel-sharp-ls060t1sx01.c
@@ -275,7 +275,7 @@  static int sharp_ls060_probe(struct mipi_dsi_device *dsi)
 	dsi->lanes = 4;
 	dsi->format = MIPI_DSI_FMT_RGB888;
 	dsi->mode_flags = MIPI_DSI_MODE_VIDEO | MIPI_DSI_MODE_VIDEO_BURST |
-			  MIPI_DSI_MODE_EOT_PACKET |
+			  MIPI_DSI_MODE_NO_EOT_PACKET |
 			  MIPI_DSI_CLOCK_NON_CONTINUOUS;
 
 	drm_panel_init(&ctx->panel, dev, &sharp_ls060_panel_funcs,