diff options
author | Erik Andrén <erik.andren@gmail.com> | 2009-06-26 08:20:04 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:17:46 -0400 |
commit | eb3678fbe5d5be8315628885b7c93228c97a433d (patch) | |
tree | aa4aedc38615358ddabfaeea77d7fad61fa1505f /drivers/media/video/gspca/m5602/m5602_ov7660.c | |
parent | 2ec92c28d73a0d2206c961180b955876d4f62a94 (diff) |
V4L/DVB (12988): gspca - m5602-ov7660: Remove old init
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/m5602/m5602_ov7660.c')
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_ov7660.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_ov7660.c b/drivers/media/video/gspca/m5602/m5602_ov7660.c index 9b5e10532796..9648b90eec73 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov7660.c +++ b/drivers/media/video/gspca/m5602/m5602_ov7660.c | |||
@@ -244,17 +244,17 @@ int ov7660_init(struct sd *sd) | |||
244 | s32 *sensor_settings = sd->sensor_priv; | 244 | s32 *sensor_settings = sd->sensor_priv; |
245 | 245 | ||
246 | /* Init the sensor */ | 246 | /* Init the sensor */ |
247 | for (i = 0; i < ARRAY_SIZE(init2_ov7660); i++) { | 247 | for (i = 0; i < ARRAY_SIZE(init_ov7660); i++) { |
248 | u8 data[2]; | 248 | u8 data[2]; |
249 | 249 | ||
250 | if (init2_ov7660[i][0] == BRIDGE) { | 250 | if (init_ov7660[i][0] == BRIDGE) { |
251 | err = m5602_write_bridge(sd, | 251 | err = m5602_write_bridge(sd, |
252 | init2_ov7660[i][1], | 252 | init_ov7660[i][1], |
253 | init2_ov7660[i][2]); | 253 | init_ov7660[i][2]); |
254 | } else { | 254 | } else { |
255 | data[0] = init2_ov7660[i][2]; | 255 | data[0] = init_ov7660[i][2]; |
256 | err = m5602_write_sensor(sd, | 256 | err = m5602_write_sensor(sd, |
257 | init2_ov7660[i][1], data, 1); | 257 | init_ov7660[i][1], data, 1); |
258 | } | 258 | } |
259 | } | 259 | } |
260 | 260 | ||