summaryrefslogtreecommitdiff
path: root/linux/drivers/media
diff options
context:
space:
mode:
authorErik Andrén <erik.andren@gmail.com>2008-11-19 21:58:55 +0100
committerErik Andrén <erik.andren@gmail.com>2008-11-19 21:58:55 +0100
commitc5536de72984b82b7290552ec19a6f71423d0931 (patch)
treec42d31895ef702b43274293cbdd7cb29d0292afe /linux/drivers/media
parent98cf395c7a02a4623fc402f528f04d4742e5c23f (diff)
downloadmediapointer-dvb-s2-c5536de72984b82b7290552ec19a6f71423d0931.tar.gz
mediapointer-dvb-s2-c5536de72984b82b7290552ec19a6f71423d0931.tar.bz2
Add lost ampersand. This restores the correct boolean expression
From: Erik Andrén <erik.andren@gmail.com> Priority: normal Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Diffstat (limited to 'linux/drivers/media')
-rw-r--r--linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.c b/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.c
index 1f72e7eae..4f7c6b8e4 100644
--- a/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.c
+++ b/linux/drivers/media/video/gspca/m5602/m5602_s5k4aa.c
@@ -149,7 +149,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 "