MLK-11921-3 mxc IPUv3: regs: Fix the macro WROD definition
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>pull/10/head
parent
a8c41f1227
commit
725e00a539
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue