提交 51ca3bdd 编写于 作者: R Roel Kluin 提交者: Mauro Carvalho Chehab

V4L/DVB (10657): [PATCH] V4L: missing parentheses?

Add missing parentheses
Signed-off-by: NRoel Kluin <roel.kluin@gmail.com>
Acked-by: NMichael Krufky <mkrufky@linuxtv.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 6722e0ef
...@@ -490,9 +490,9 @@ int tda18271_set_standby_mode(struct dvb_frontend *fe, ...@@ -490,9 +490,9 @@ int tda18271_set_standby_mode(struct dvb_frontend *fe,
tda_dbg("sm = %d, sm_lt = %d, sm_xt = %d\n", sm, sm_lt, sm_xt); tda_dbg("sm = %d, sm_lt = %d, sm_xt = %d\n", sm, sm_lt, sm_xt);
regs[R_EP3] &= ~0xe0; /* clear sm, sm_lt, sm_xt */ regs[R_EP3] &= ~0xe0; /* clear sm, sm_lt, sm_xt */
regs[R_EP3] |= sm ? (1 << 7) : 0 | regs[R_EP3] |= (sm ? (1 << 7) : 0) |
sm_lt ? (1 << 6) : 0 | (sm_lt ? (1 << 6) : 0) |
sm_xt ? (1 << 5) : 0; (sm_xt ? (1 << 5) : 0);
return tda18271_write_regs(fe, R_EP3, 1); return tda18271_write_regs(fe, R_EP3, 1);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册