]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
V4L/DVB (10000): gspca - m5602: Add lost ampersand
authorErik Andrén <erik.andren@gmail.com>
Wed, 19 Nov 2008 20:58:55 +0000 (17:58 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 30 Dec 2008 11:39:45 +0000 (09:39 -0200)
This restores the correct boolean expression

Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/m5602/m5602_s5k4aa.c

index 2cb76d0f789c44d814f244522868d658ed767aa9..a98d5335f79c431a64bdd23e37b7afefe6bcfe3b 100644 (file)
@@ -147,7 +147,7 @@ int s5k4aa_read_sensor(struct sd *sd, const u8 address,
        if (err < 0)
                goto out;
 
-       for (i = 0; (i < len) & !err; i++) {
+       for (i = 0; (i < len) && !err; i++) {
                err = m5602_read_bridge(sd, M5602_XB_I2C_DATA, &(i2c_data[i]));
 
                PDEBUG(D_CONF, "Reading sensor register "