Commit 082ec3b8 authored by Erik Andrén's avatar Erik Andrén Committed by Mauro Carvalho Chehab

V4L/DVB (10008): gspca - m5602: Checkpatch.pl fixes on m5602_ov9650.c

Signed-off-by: default avatarErik Andrén <erik.andren@gmail.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 7b2cd079
...@@ -114,7 +114,7 @@ int ov9650_write_sensor(struct sd *sd, const u8 address, ...@@ -114,7 +114,7 @@ int ov9650_write_sensor(struct sd *sd, const u8 address,
/* Special case larger sensor writes */ /* Special case larger sensor writes */
p = buf + 16; p = buf + 16;
/* Copy a four byte write sequence for each byte to write over the I2C bus */ /* Copy a four byte sequence for each byte to write over the I2C bus */
for (i = 0; i < len; i++) { for (i = 0; i < len; i++) {
memcpy(p, sensor_urb_skeleton + 16, 4); memcpy(p, sensor_urb_skeleton + 16, 4);
p[3] = i2c_data[i]; p[3] = i2c_data[i];
...@@ -219,7 +219,8 @@ int ov9650_power_down(struct sd *sd) ...@@ -219,7 +219,8 @@ int ov9650_power_down(struct sd *sd)
err = ov9650_write_sensor(sd, err = ov9650_write_sensor(sd,
power_down_ov9650[i][1], &data, 1); power_down_ov9650[i][1], &data, 1);
else else
err = m5602_write_bridge(sd, power_down_ov9650[i][1], data); err = m5602_write_bridge(sd, power_down_ov9650[i][1],
data);
} }
return err; return err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment