summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-02-18 10:11:10 +0100
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-02-18 10:11:10 +0100
commitea5c2ae318fda3731d4fe711b704122a62a7dce9 (patch)
tree0ebaaa36062439b59f6d4638a3e1db231821d413
parentec587d5a2c052529e35797c42522fde8a9efa1b7 (diff)
downloadmediapointer-dvb-s2-ea5c2ae318fda3731d4fe711b704122a62a7dce9.tar.gz
mediapointer-dvb-s2-ea5c2ae318fda3731d4fe711b704122a62a7dce9.tar.bz2
[PATCH] V4L: missing parentheses?
From: Roel Kluin <roel.kluin@gmail.com> Add missing parentheses Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Acked-by: Michael Krufky <mkrufky@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--linux/drivers/media/common/tuners/tda18271-common.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/drivers/media/common/tuners/tda18271-common.c b/linux/drivers/media/common/tuners/tda18271-common.c
index a8fb96698..a49facb7b 100644
--- a/linux/drivers/media/common/tuners/tda18271-common.c
+++ b/linux/drivers/media/common/tuners/tda18271-common.c
@@ -558,9 +558,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);
regs[R_EP3] &= ~0xe0; /* clear sm, sm_lt, sm_xt */
- regs[R_EP3] |= sm ? (1 << 7) : 0 |
- sm_lt ? (1 << 6) : 0 |
- sm_xt ? (1 << 5) : 0;
+ regs[R_EP3] |= (sm ? (1 << 7) : 0) |
+ (sm_lt ? (1 << 6) : 0) |
+ (sm_xt ? (1 << 5) : 0);
return tda18271_write_regs(fe, R_EP3, 1);
}