From: Erik Andrén Date: Wed, 19 Nov 2008 20:58:55 +0000 (-0300) Subject: V4L/DVB (10000): gspca - m5602: Add lost ampersand X-Git-Tag: v2.6.29-rc1~556^2~112 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=84833a3f4e22907379462e8a7c18970db70d21d8;p=linux-2.6-omap-h63xx.git V4L/DVB (10000): gspca - m5602: Add lost ampersand This restores the correct boolean expression Signed-off-by: Erik Andrén Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/gspca/m5602/m5602_s5k4aa.c b/drivers/media/video/gspca/m5602/m5602_s5k4aa.c index 2cb76d0f789..a98d5335f79 100644 --- a/drivers/media/video/gspca/m5602/m5602_s5k4aa.c +++ b/drivers/media/video/gspca/m5602/m5602_s5k4aa.c @@ -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 "