[PATCH 1/3] video: stm32: stm32_ltdc: fix data enable polarity
Sascha Hauer
sha at pengutronix.de
Mon Jul 11 03:43:49 PDT 2022
On Fri, Jul 08, 2022 at 07:52:48AM +0200, Ahmad Fatoum wrote:
> From: Yannick FERTRE <yannick.fertre at foss.st.com>
>
> Wrong DISPLAY_FLAGS used to set the data enable polarity.
>
> Signed-off-by: Yannick FERTRE <yannick.fertre at foss.st.com>
> Origin: https://st-md-mailman.stormreply.com/pipermail/uboot-stm32/2022-April/005122.html
> [afa: cherry-picked from U-Boot driver]
> Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
> ---
> drivers/video/stm32_ltdc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
Applied, thanks
Sascha
>
> diff --git a/drivers/video/stm32_ltdc.c b/drivers/video/stm32_ltdc.c
> index 645c20b5545f..9dc35ade6124 100644
> --- a/drivers/video/stm32_ltdc.c
> +++ b/drivers/video/stm32_ltdc.c
> @@ -98,7 +98,7 @@ static void ltdc_set_mode(struct ltdc_fb *priv,
> val |= GCR_HSPOL;
> if (mode->sync & FB_SYNC_VERT_HIGH_ACT)
> val |= GCR_VSPOL;
> - if (mode->display_flags & DISPLAY_FLAGS_DE_HIGH)
> + if (mode->display_flags & DISPLAY_FLAGS_DE_LOW)
> val |= GCR_DEPOL;
> if (mode->display_flags & DISPLAY_FLAGS_PIXDATA_NEGEDGE)
> val |= GCR_PCPOL;
> --
> 2.34.1
>
>
>
--
Pengutronix e.K. | |
Steuerwalder Str. 21 | http://www.pengutronix.de/ |
31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
More information about the barebox
mailing list