V4L/DVB (10000): gspca - m5602: Add lost ampersand
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>
This commit is contained in:
parent
88a40cfbf2
commit
84833a3f4e
1 changed files with 1 additions and 1 deletions
|
@ -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 "
|
||||
|
|
Loading…
Reference in a new issue