summaryrefslogtreecommitdiff
path: root/drivers/media/video/cx23885
diff options
context:
space:
mode:
authorRoel Kluin <roel.kluin@gmail.com>2009-04-26 12:31:26 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-06-16 18:20:56 -0300
commit7b5cb558381607d7e0d04f49d16dd3825ca5261a (patch)
treeeec3de6ea3787585be3abdc7a03aeb9b2cd27138 /drivers/media/video/cx23885
parent60c7ef3967edfb2dd59aa149fd25da4779e3261e (diff)
V4L/DVB: cx23885/cymax2: binary/logical &/&& typo
Signed-off-by: Roel Kluin <roel.kluin@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/cx23885')
-rw-r--r--drivers/media/video/cx23885/cimax2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx23885/cimax2.c b/drivers/media/video/cx23885/cimax2.c
index 9a6536998d90..08582e58bdbf 100644
--- a/drivers/media/video/cx23885/cimax2.c
+++ b/drivers/media/video/cx23885/cimax2.c
@@ -312,7 +312,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