From: Roel Kluin <[email protected]>

binary/logical and typo

Signed-off-by: Roel Kluin <[email protected]>
Cc: Mauro Carvalho Chehab <[email protected]>
Cc: Abylay Ospan <[email protected]>
Cc: Igor M. Liplianin <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
---

 drivers/media/video/cx23885/cimax2.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/media/video/cx23885/cimax2.c~v4l-dvb-cimax2c-fix-typo 
drivers/media/video/cx23885/cimax2.c
--- a/drivers/media/video/cx23885/cimax2.c~v4l-dvb-cimax2c-fix-typo
+++ a/drivers/media/video/cx23885/cimax2.c
@@ -312,7 +312,7 @@ static void netup_read_ci_status(struct 
                "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
_
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to