summaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cx23885/cimax2.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cx23885/cimax2.c')
-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