summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx23885
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-04-26 15:31:26 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-04-26 15:31:26 +0000
commit4c50c14ed35b0df615ad59f74cadbbaf52b0c657 (patch)
tree1fe1839badf287191a453fdd0cc3000ee2a17648 /linux/drivers/media/video/cx23885
parent174bab7f1cc3bfa7b54978080cbe82002b94adbf (diff)
downloadmediapointer-dvb-s2-4c50c14ed35b0df615ad59f74cadbbaf52b0c657.tar.gz
mediapointer-dvb-s2-4c50c14ed35b0df615ad59f74cadbbaf52b0c657.tar.bz2
V4L/DVB: cx23885/cymax2: binary/logical &/&& typo
From: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'linux/drivers/media/video/cx23885')
-rw-r--r--linux/drivers/media/video/cx23885/cimax2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx23885/cimax2.c b/linux/drivers/media/video/cx23885/cimax2.c
index 0e29f97f3..fed6d9f9f 100644
--- a/linux/drivers/media/video/cx23885/cimax2.c
+++ b/linux/drivers/media/video/cx23885/cimax2.c
@@ -320,7 +320,7 @@ static void netup_read_ci_status(struct work_struct *work)
"TS config = %02x\n", __func__, state->ci_i2c_addr, 0, buf[0],
buf[32]);
- if (buf[0] && 1)
+ if (buf[0] & 1)
state->status = DVB_CA_EN50221_POLL_CAM_PRESENT |
DVB_CA_EN50221_POLL_CAM_READY;
else