diff options
author | Erik Andrén <erik.andren@gmail.com> | 2009-06-26 08:30:42 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-09-18 23:17:58 -0400 |
commit | e1e7e677a4818500b220cebc45a1b47055c9443a (patch) | |
tree | b9289db9c0d577ae5aece8883cd1d49ae330dd92 | |
parent | 87fad38e6eede2305e57eeb7d75a67a01b77e063 (diff) |
V4L/DVB (12991): gspca - m5602-ov7660: Remove redundant init writes
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 | 50 |
1 files changed, 2 insertions, 48 deletions
diff --git a/drivers/media/video/gspca/m5602/m5602_ov7660.h b/drivers/media/video/gspca/m5602/m5602_ov7660.h index ee7c748f1e62..f5588ebe667c 100644 --- a/drivers/media/video/gspca/m5602/m5602_ov7660.h +++ b/drivers/media/video/gspca/m5602/m5602_ov7660.h | |||
@@ -192,30 +192,7 @@ static const unsigned char init_ov7660[][4] = | |||
192 | {SENSOR, OV7660_LCC3, 0x10}, | 192 | {SENSOR, OV7660_LCC3, 0x10}, |
193 | {SENSOR, OV7660_LCC4, 0x40}, | 193 | {SENSOR, OV7660_LCC4, 0x40}, |
194 | {SENSOR, OV7660_LCC5, 0x01}, | 194 | {SENSOR, OV7660_LCC5, 0x01}, |
195 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x06}, | 195 | |
196 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, | ||
197 | {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, | ||
198 | {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0c}, | ||
199 | {BRIDGE, M5602_XB_LINE_OF_FRAME_H, 0x81}, | ||
200 | {BRIDGE, M5602_XB_PIX_OF_LINE_H, 0x82}, | ||
201 | {BRIDGE, M5602_XB_SIG_INI, 0x01}, | ||
202 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
203 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x08}, | ||
204 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
205 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
206 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x01}, | ||
207 | {BRIDGE, M5602_XB_VSYNC_PARA, 0xec}, | ||
208 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
209 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
210 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, | ||
211 | {BRIDGE, M5602_XB_SIG_INI, 0x02}, | ||
212 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x00}, | ||
213 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x27}, | ||
214 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x02}, | ||
215 | {BRIDGE, M5602_XB_HSYNC_PARA, 0xae}, | ||
216 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, | ||
217 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x02}, | ||
218 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, | ||
219 | {SENSOR, OV7660_AECH, 0x20}, | 196 | {SENSOR, OV7660_AECH, 0x20}, |
220 | {SENSOR, OV7660_COM1, 0x00}, | 197 | {SENSOR, OV7660_COM1, 0x00}, |
221 | {SENSOR, OV7660_OFON, 0x0c}, | 198 | {SENSOR, OV7660_OFON, 0x0c}, |
@@ -236,30 +213,6 @@ static const unsigned char init_ov7660[][4] = | |||
236 | {BRIDGE, M5602_XB_GPIO_DAT, 0x00}, | 213 | {BRIDGE, M5602_XB_GPIO_DAT, 0x00}, |
237 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, | 214 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, |
238 | {BRIDGE, M5602_XB_GPIO_EN_L, 0x00}, | 215 | {BRIDGE, M5602_XB_GPIO_EN_L, 0x00}, |
239 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x06}, | ||
240 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, | ||
241 | {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, | ||
242 | {BRIDGE, M5602_XB_SENSOR_TYPE, 0x0c}, | ||
243 | {BRIDGE, M5602_XB_LINE_OF_FRAME_H, 0x81}, | ||
244 | {BRIDGE, M5602_XB_PIX_OF_LINE_H, 0x82}, | ||
245 | {BRIDGE, M5602_XB_SIG_INI, 0x01}, | ||
246 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
247 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x08}, | ||
248 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
249 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
250 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x01}, | ||
251 | {BRIDGE, M5602_XB_VSYNC_PARA, 0xec}, | ||
252 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
253 | {BRIDGE, M5602_XB_VSYNC_PARA, 0x00}, | ||
254 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, | ||
255 | {BRIDGE, M5602_XB_SIG_INI, 0x02}, | ||
256 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x00}, | ||
257 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x27}, | ||
258 | {BRIDGE, M5602_XB_HSYNC_PARA, 0x02}, | ||
259 | {BRIDGE, M5602_XB_HSYNC_PARA, 0xae}, | ||
260 | {BRIDGE, M5602_XB_SIG_INI, 0x00}, | ||
261 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x00}, | ||
262 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, | ||
263 | {SENSOR, OV7660_AECH, 0x5f}, | 216 | {SENSOR, OV7660_AECH, 0x5f}, |
264 | {SENSOR, OV7660_COM1, 0x03}, | 217 | {SENSOR, OV7660_COM1, 0x03}, |
265 | {SENSOR, OV7660_OFON, 0x0c}, | 218 | {SENSOR, OV7660_OFON, 0x0c}, |
@@ -280,6 +233,7 @@ static const unsigned char init_ov7660[][4] = | |||
280 | {BRIDGE, M5602_XB_GPIO_DAT, 0x00}, | 233 | {BRIDGE, M5602_XB_GPIO_DAT, 0x00}, |
281 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, | 234 | {BRIDGE, M5602_XB_GPIO_EN_H, 0x06}, |
282 | {BRIDGE, M5602_XB_GPIO_EN_L, 0x00}, | 235 | {BRIDGE, M5602_XB_GPIO_EN_L, 0x00}, |
236 | |||
283 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x06}, | 237 | {BRIDGE, M5602_XB_SEN_CLK_DIV, 0x06}, |
284 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, | 238 | {BRIDGE, M5602_XB_SEN_CLK_CTRL, 0xb0}, |
285 | {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, | 239 | {BRIDGE, M5602_XB_ADC_CTRL, 0xc0}, |