Commit 7b5cb558 authored by Roel Kluin's avatar Roel Kluin Committed by Mauro Carvalho Chehab

V4L/DVB: cx23885/cymax2: binary/logical &/&& typo

Signed-off-by: default avatarRoel Kluin <roel.kluin@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 60c7ef39
...@@ -312,7 +312,7 @@ static void netup_read_ci_status(struct work_struct *work) ...@@ -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], "TS config = %02x\n", __func__, state->ci_i2c_addr, 0, buf[0],
buf[32]); buf[32]);
if (buf[0] && 1) if (buf[0] & 1)
state->status = DVB_CA_EN50221_POLL_CAM_PRESENT | state->status = DVB_CA_EN50221_POLL_CAM_PRESENT |
DVB_CA_EN50221_POLL_CAM_READY; DVB_CA_EN50221_POLL_CAM_READY;
else else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment