diff options
author | Erik Andrén <erik.andren@gmail.com> | 2008-11-24 12:12:46 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:39:49 -0500 |
commit | 082ec3b865f42f722ea304f0d9f05f3124c37388 (patch) | |
tree | 893121d2f007bfec85b1d1e672fe8977eb852f65 /drivers/media/video/gspca | |
parent | 7b2cd079ec8dcc65cdca6621245cfa5e30a8ef9f (diff) |
V4L/DVB (10008): gspca - m5602: Checkpatch.pl fixes on m5602_ov9650.c
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_ov9650.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_ov9650.c b/drivers/media/video/gspca/m5602/m5602_ov9650.c index cf917b2aaa85..fd6f876c3cf7 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov9650.c +++ b/drivers/media/video/gspca/m5602/m5602_ov9650.c | |||
@@ -114,7 +114,7 @@ int ov9650_write_sensor(struct sd *sd, const u8 address, | |||
114 | /* Special case larger sensor writes */ | 114 | /* Special case larger sensor writes */ |
115 | p = buf + 16; | 115 | p = buf + 16; |
116 | 116 | ||
117 | /* Copy a four byte write sequence for each byte to write over the I2C bus */ | 117 | /* Copy a four byte sequence for each byte to write over the I2C bus */ |
118 | for (i = 0; i < len; i++) { | 118 | for (i = 0; i < len; i++) { |
119 | memcpy(p, sensor_urb_skeleton + 16, 4); | 119 | memcpy(p, sensor_urb_skeleton + 16, 4); |
120 | p[3] = i2c_data[i]; | 120 | p[3] = i2c_data[i]; |
@@ -219,7 +219,8 @@ int ov9650_power_down(struct sd *sd) | |||
219 | err = ov9650_write_sensor(sd, | 219 | err = ov9650_write_sensor(sd, |
220 | power_down_ov9650[i][1], &data, 1); | 220 | power_down_ov9650[i][1], &data, 1); |
221 | else | 221 | else |
222 | err = m5602_write_bridge(sd, power_down_ov9650[i][1], data); | 222 | err = m5602_write_bridge(sd, power_down_ov9650[i][1], |
223 | data); | ||
223 | } | 224 | } |
224 | 225 | ||
225 | return err; | 226 | return err; |