projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c04d68
)
MLK-11921-3 mxc IPUv3: regs: Fix the macro WROD definition
author
Liu Ying
<Ying.Liu@freescale.com>
Mon, 30 Nov 2015 09:11:10 +0000
(17:11 +0800)
committer
Nitin Garg
<nitin.garg@nxp.com>
Mon, 19 Mar 2018 19:49:20 +0000
(14:49 -0500)
This patch adds missing parentheses around the argument of the macro
WROD to avoid any potential macro expansion issue.
Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
drivers/mxc/ipu3/ipu_regs.h
patch
|
blob
|
history
diff --git
a/drivers/mxc/ipu3/ipu_regs.h
b/drivers/mxc/ipu3/ipu_regs.h
index
79051cf
..
099346d
100644
(file)
--- a/
drivers/mxc/ipu3/ipu_regs.h
+++ b/
drivers/mxc/ipu3/ipu_regs.h
@@
-696,7
+696,7
@@
enum di_sync_wave {
};
/* DC template opcodes */
-#define WROD(lf) (0x18 | (
lf
<< 1))
+#define WROD(lf) (0x18 | (
(lf)
<< 1))
#define WRG (0x01)
#endif