mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] drm/stm: ltdc: fix duplicated arguments
@ 2017-05-22  9:30 Philippe CORNU
  2017-05-23 13:44 ` Benjamin Gaignard
  0 siblings, 1 reply; 2+ messages in thread
From: Philippe CORNU @ 2017-05-22  9:30 UTC (permalink / raw)
  To: Yannick Fertre, Philippe Cornu, David Airlie, dri-devel,
	linux-kernel, Masahiro Yamada, Daniel Vetter
  Cc: Benjamin Gaignard, Fabien Dessenne, Vincent Abriou,
	Mickael Reulier, Gabriel Fernandez, Ludovic Barre,
	Alexandre Torgue

Fix COMPILE_TEST build issue detected with the
rule: "duplicated argument to & or |"

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-05-23 13:44 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-22  9:30 [PATCH] drm/stm: ltdc: fix duplicated arguments Philippe CORNU
2017-05-23 13:44 ` Benjamin Gaignard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®