summaryrefslogtreecommitdiff
path: root/linux/drivers/media/common
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-02-26 14:47:44 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-02-26 14:47:44 -0300
commitb83e521a82f61e3457c258da93f43ceae36daec3 (patch)
tree47407d6c63aff85c95af85971df2f66ae508e1bf /linux/drivers/media/common
parenta43bb4e65ce2015ec503f7933fbd136271d80c34 (diff)
parentf1b096388308b69fdc4fe54e5952a7f7beb845bb (diff)
downloadmediapointer-dvb-s2-b83e521a82f61e3457c258da93f43ceae36daec3.tar.gz
mediapointer-dvb-s2-b83e521a82f61e3457c258da93f43ceae36daec3.tar.bz2
merge: http://linuxtv.org/hg/~gliakhovetski/v4l-dvb
From: Mauro Carvalho Chehab <mchehab@redhat.com> Priority: normal Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/common')
-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);
}