Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 745ca3be authored by Paulo Zanoni's avatar Paulo Zanoni Committed by Daniel Vetter
Browse files

drm/i915: add parentheses around PIXCLK_GATE definitions



By looking at the current way we're using these definitions I don't
think this commit will fix any bug, but programmers from the future
are evil and will certainly find ways to combine macro expansion with
operator precedence to introduce bugs that are hard to find.

Signed-off-by: default avatarPaulo Zanoni <paulo.r.zanoni@intel.com>
Reviewed-by: default avatarJani Nikula <jani.nikula@intel.com>
Signed-off-by: default avatarDaniel Vetter <daniel.vetter@ffwll.ch>
parent 5e49cea6
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -4395,8 +4395,8 @@


/* LPT PIXCLK_GATE */
/* LPT PIXCLK_GATE */
#define PIXCLK_GATE			0xC6020
#define PIXCLK_GATE			0xC6020
#define  PIXCLK_GATE_UNGATE		1<<0
#define  PIXCLK_GATE_UNGATE		(1<<0)
#define  PIXCLK_GATE_GATE		0<<0
#define  PIXCLK_GATE_GATE		(0<<0)


/* SPLL */
/* SPLL */
#define SPLL_CTL			0x46020
#define SPLL_CTL			0x46020