projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
665f37e
)
drm/stm: ltdc: fix duplicated arguments
author
Philippe CORNU
<philippe.cornu@st.com>
Mon, 22 May 2017 09:30:21 +0000
(11:30 +0200)
committer
Benjamin Gaignard
<benjamin.gaignard@linaro.org>
Tue, 23 May 2017 13:19:46 +0000
(15:19 +0200)
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
drivers/gpu/drm/stm/ltdc.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/stm/ltdc.c
b/drivers/gpu/drm/stm/ltdc.c
index a40418cda74a5973fa50c799101e97bf63b41b4f..700cc0800e512dc3b8d3bcdf7500156b602b1b22 100644
(file)
--- 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 |
H
SPOL_AL | DEPOL_AL | PCPOL_IPC;
+ val = HSPOL_AL |
V
SPOL_AL | DEPOL_AL | PCPOL_IPC;
if (vm.flags & DISPLAY_FLAGS_HSYNC_HIGH)
val |= HSPOL_AH;