diff options
author | Erik Andrén <erik.andren@gmail.com> | 2009-01-22 01:57:30 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-06-16 17:20:47 -0400 |
commit | 2b622e2d0022fd9220d6f712ab59bff768c098e7 (patch) | |
tree | 30478e52a6c85223ad868fdd0c71a76e8e087d0f | |
parent | 2f17e1a1f0e545a80cb012cd10cef381acb07574 (diff) |
V4L/DVB (11641): gspca - m5602-ov7660: Remove useless init data
Signed-off-by: Erik Andrén <erik.andren@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r-- | drivers/media/video/gspca/m5602/m5602_ov7660.h | 94 |
1 files changed, 2 insertions, 92 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_ov7660.h b/drivers/media/video/gspca/m5602/m5602_ov7660.h index 34652bcdfd4f..15ab706d5dd3 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov7660.h +++ b/drivers/media/video/gspca/m5602/m5602_ov7660.h | |||
@@ -174,68 +174,6 @@ static const unsigned char init_ov7660[][4] = | |||
174 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, | 174 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, |
175 | {BRIDGE, M5602_XB_GPIO_EN_L, 0x00}, | 175 | {BRIDGE, M5602_XB_GPIO_EN_L, 0x00}, |
176 | 176 | ||
177 | {SENSOR, OV7660_COM7, 0x80}, | ||
178 | {SENSOR, OV7660_CLKRC, 0x80}, | ||
179 | {SENSOR, OV7660_BLUE_GAIN, 0x80}, | ||
180 | {SENSOR, OV7660_RED_GAIN, 0x80}, | ||
181 | {SENSOR, OV7660_COM9, 0x4c}, | ||
182 | {SENSOR, OV7660_OFON, 0x43}, | ||
183 | {SENSOR, OV7660_COM12, 0x28}, | ||
184 | {SENSOR, OV7660_COM8, 0x00}, | ||
185 | {SENSOR, OV7660_COM10, 0x40}, | ||
186 | {SENSOR, OV7660_HSTART, 0x0c}, | ||
187 | {SENSOR, OV7660_HSTOP, 0x61}, | ||
188 | {SENSOR, OV7660_HREF, 0xa4}, | ||
189 | {SENSOR, OV7660_PSHFT, 0x0b}, | ||
190 | {SENSOR, OV7660_VSTART, 0x01}, | ||
191 | {SENSOR, OV7660_VSTOP, 0x7a}, | ||
192 | {SENSOR, OV7660_VREF, 0x00}, | ||
193 | {SENSOR, OV7660_COM7, 0x05}, | ||
194 | {SENSOR, OV7660_COM6, 0x4b}, | ||
195 | {SENSOR, OV7660_BBIAS, 0x98}, | ||
196 | {SENSOR, OV7660_GbBIAS, 0x98}, | ||
197 | {SENSOR, OV7660_RSVD29, 0x98}, | ||
198 | {SENSOR, OV7660_RBIAS, 0x98}, | ||
199 | {SENSOR, OV7660_COM1, 0x00}, | ||
200 | {SENSOR, OV7660_AECH, 0x00}, | ||
201 | {SENSOR, OV7660_AECHH, 0x00}, | ||
202 | {SENSOR, OV7660_ADC, 0x04}, | ||
203 | {SENSOR, OV7660_COM13, 0x00}, | ||
204 | {SENSOR, OV7660_RSVDA1, 0x23}, | ||
205 | {SENSOR, OV7660_TSLB, 0x0d}, | ||
206 | {SENSOR, OV7660_HV, 0x80}, | ||
207 | {SENSOR, OV7660_LCC1, 0x00}, | ||
208 | {SENSOR, OV7660_LCC2, 0x00}, | ||
209 | {SENSOR, OV7660_LCC3, 0x10}, | ||
210 | {SENSOR, OV7660_LCC4, 0x40}, | ||
211 | {SENSOR, OV7660_LCC5, 0x01}, | ||
212 | |||
213 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x06}, | ||
214 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, | ||
215 | {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, | ||
216 | {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0c}, | ||
217 | {BRIDGE, M5602_XB_LINE_OF_FRAME_H, 0x81}, | ||
218 | {BRIDGE, M5602_XB_PIX_OF_LINE_H, 0x82}, | ||
219 | {BRIDGE, M5602_XB_SIG_INI, 0x01}, | ||
220 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
221 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x08}, | ||
222 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
223 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
224 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x01}, | ||
225 | {BRIDGE, M5602_XB_VSYNC_PARA, 0xec}, | ||
226 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
227 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
228 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, | ||
229 | {BRIDGE, M5602_XB_SIG_INI, 0x02}, | ||
230 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x00}, | ||
231 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x27}, | ||
232 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x02}, | ||
233 | {BRIDGE, M5602_XB_HSYNC_PARA, 0xae}, | ||
234 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, | ||
235 | |||
236 | {SENSOR, OV7660_BLUE_GAIN, 0x80}, | ||
237 | {SENSOR, OV7660_RED_GAIN, 0x80}, | ||
238 | |||
239 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x02}, | 177 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x02}, |
240 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, | 178 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
241 | 179 | ||
@@ -243,33 +181,6 @@ static const unsigned char init_ov7660[][4] = | |||
243 | {SENSOR, OV7660_COM1, 0x00}, | 181 | {SENSOR, OV7660_COM1, 0x00}, |
244 | {SENSOR, OV7660_GAIN, DEFAULT_GAIN}, | 182 | {SENSOR, OV7660_GAIN, DEFAULT_GAIN}, |
245 | 183 | ||
246 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x06}, | ||
247 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, | ||
248 | {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, | ||
249 | {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0c}, | ||
250 | {BRIDGE, M5602_XB_LINE_OF_FRAME_H, 0x81}, | ||
251 | {BRIDGE, M5602_XB_PIX_OF_LINE_H, 0x82}, | ||
252 | {BRIDGE, M5602_XB_SIG_INI, 0x01}, | ||
253 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
254 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x08}, | ||
255 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
256 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
257 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x01}, | ||
258 | {BRIDGE, M5602_XB_VSYNC_PARA, 0xec}, | ||
259 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
260 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
261 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, | ||
262 | {BRIDGE, M5602_XB_SIG_INI, 0x02}, | ||
263 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x00}, | ||
264 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x27}, | ||
265 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x02}, | ||
266 | {BRIDGE, M5602_XB_HSYNC_PARA, 0xae}, | ||
267 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, | ||
268 | |||
269 | {SENSOR, OV7660_OFON, 0x0c}, | ||
270 | {SENSOR, OV7660_COM2, 0x11}, | ||
271 | {SENSOR, OV7660_COM7, 0x05}, | ||
272 | |||
273 | {BRIDGE, M5602_XB_GPIO_DIR, 0x01}, | 184 | {BRIDGE, M5602_XB_GPIO_DIR, 0x01}, |
274 | {BRIDGE, M5602_XB_GPIO_DAT, 0x04}, | 185 | {BRIDGE, M5602_XB_GPIO_DAT, 0x04}, |
275 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, | 186 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, |
@@ -346,9 +257,6 @@ static const unsigned char init_ov7660[][4] = | |||
346 | {BRIDGE, M5602_XB_VSYNC_PARA, 0xa7}, /* 679 */ | 257 | {BRIDGE, M5602_XB_VSYNC_PARA, 0xa7}, /* 679 */ |
347 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, | 258 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, |
348 | 259 | ||
349 | {SENSOR, OV7660_BLUE_GAIN, 0x80}, | ||
350 | {SENSOR, OV7660_RED_GAIN, 0x80}, | ||
351 | |||
352 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00}, | 260 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00}, |
353 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, | 261 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
354 | 262 | ||
@@ -358,6 +266,8 @@ static const unsigned char init_ov7660[][4] = | |||
358 | {SENSOR, OV7660_OFON, 0x0c}, | 266 | {SENSOR, OV7660_OFON, 0x0c}, |
359 | {SENSOR, OV7660_COM2, 0x11}, | 267 | {SENSOR, OV7660_COM2, 0x11}, |
360 | {SENSOR, OV7660_COM7, 0x05}, | 268 | {SENSOR, OV7660_COM7, 0x05}, |
269 | {SENSOR, OV7660_BLUE_GAIN, 0x80}, | ||
270 | {SENSOR, OV7660_RED_GAIN, 0x80}, | ||
361 | 271 | ||
362 | {BRIDGE, M5602_XB_GPIO_DIR, 0x01}, | 272 | {BRIDGE, M5602_XB_GPIO_DIR, 0x01}, |
363 | {BRIDGE, M5602_XB_GPIO_DAT, 0x04}, | 273 | {BRIDGE, M5602_XB_GPIO_DAT, 0x04}, |