Skip to contentSkip to conversation

V4L/DVB: &/&& typo

PATCH New Roel Kluin 1 participant 1 message Apr 26, 2009 Media (V4L/DVB)

lore
Share & tools
lore

Roel Kluin

author
#0 lore raw

PATCH 1/1 V4L/DVB: &/&& typo

binary/logical and typo

---

drivers/media/video/cx23885/cimax2.c +1 -1
index 9a65369..08582e5 100644
@@ -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