summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/stm
diff options
context:
space:
mode:
authorPhilippe CORNU <philippe.cornu@st.com>2017-05-22 12:30:21 +0300
committerBenjamin Gaignard <benjamin.gaignard@linaro.org>2017-05-23 16:19:46 +0300
commitc4d3fd4614248880d700b6286c01839c416e37cb (patch)
tree0025f0d2bc0af63ee55ddc3c3698deac0f4adc97 /drivers/gpu/drm/stm
parent665f37e7eec33223bdc50cc1b3e00bca97a30aea (diff)
downloadlinux-c4d3fd4614248880d700b6286c01839c416e37cb.tar.xz
drm/stm: ltdc: fix duplicated arguments
Fix COMPILE_TEST build issue detected with the rule: "duplicated argument to & or |" Signed-off-by: Philippe CORNU <philippe.cornu@st.com> Signed-off-by: Benjamin Gaignard <benjamin.gaignard@linaro.org> Link: http://patchwork.freedesktop.org/patch/msgid/1495445421-20846-1-git-send-email-philippe.cornu@st.com
Diffstat (limited to 'drivers/gpu/drm/stm')
-rw-r--r--drivers/gpu/drm/stm/ltdc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/stm/ltdc.c b/drivers/gpu/drm/stm/ltdc.c
index a40418cda74a..700cc0800e51 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;