Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1648076

Re: [PATCH] drm/stm: ltdc: fix duplicated arguments

From Benjamin Gaignard <benjamin.gaignard@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] drm/stm: ltdc: fix duplicated arguments
Date 2017-05-23 15:50 +0200
Message-ID <tKime-3Tp-37@gated-at.bofh.it> (permalink)
References <tJRYJ-3Yq-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


2017-05-22 11:30 GMT+02:00 Philippe CORNU <philippe.cornu@st.com>:
> Fix COMPILE_TEST build issue detected with the
> rule: "duplicated argument to & or |"
>

I have merged it in drm-misc-next

Thanks,
Benjamin

> Signed-off-by: Philippe CORNU <philippe.cornu@st.com>
> ---
>  drivers/gpu/drm/stm/ltdc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c
> index a40418c..700cc08 100644
> --- a/drivers/gpu/drm/stm/ltdc.c
> +++ b/drivers/gpu/drm/stm/ltdc.c
> @@ -463,7 +463,7 @@ static void ltdc_crtc_mode_set_nofb(struct drm_crtc *crtc)
>         clk_enable(ldev->pixel_clk);
>
>         /* Configures the HS, VS, DE and PC polarities. */
> -       val = HSPOL_AL | HSPOL_AL | DEPOL_AL | PCPOL_IPC;
> +       val = HSPOL_AL | VSPOL_AL | DEPOL_AL | PCPOL_IPC;
>
>         if (vm.flags & DISPLAY_FLAGS_HSYNC_HIGH)
>                 val |= HSPOL_AH;
> --
> 1.9.1
>

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] drm/stm: ltdc: fix duplicated arguments Philippe CORNU <philippe.cornu@st.com> - 2017-05-22 11:40 +0200
  Re: [PATCH] drm/stm: ltdc: fix duplicated arguments Benjamin Gaignard <benjamin.gaignard@linaro.org> - 2017-05-23 15:50 +0200

csiph-web