Skip to content

Commit

Permalink
drm/stm: ltdc: fix duplicated arguments
Browse files Browse the repository at this point in the history
Fix COMPILE_TEST build issue detected with the
rule: "duplicated argument to & or |"

Signed-off-by: Philippe CORNU <[email protected]>
Signed-off-by: Benjamin Gaignard <[email protected]>
Link: http://patchwork.freedesktop.org/patch/msgid/[email protected]
  • Loading branch information
pcornu authored and Benjamin-Gaignard committed May 23, 2017
1 parent 665f37e commit c4d3fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/gpu/drm/stm/ltdc.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c4d3fd4

Please sign in to comment.