1
0
Fork 0

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
Liu Ying 2015-11-30 17:11:10 +08:00 committed by Jason Liu
parent a8c41f1227
commit 725e00a539
1 changed files with 1 additions and 1 deletions

View File

@ -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