aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJim Paris <jim@jtan.com>2008-12-10 03:47:44 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2008-12-30 06:39:01 -0500
commitc06eb61941459b1981817fb675d0104ac0cd6df8 (patch)
tree4eb22e6de5002eb3cb7db444ab1af298dd395e2e /drivers/media/video/gspca
parent0f7a50b29dd9c8603d5ce15c11fd1a1d731e1a6d (diff)
V4L/DVB (9874): gspca - ov534: Explicitly initialize frame format.
Set frame format registers 0x0a and 0x0b to explicit values rather than relying on reset-time defaults. Signed-off-by: Jim Paris <jim@jtan.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/gspca')
-rw-r--r--drivers/media/video/gspca/ov534.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/gspca/ov534.c b/drivers/media/video/gspca/ov534.c
index 74bb7962e110..66a7bd2f6762 100644
--- a/drivers/media/video/gspca/ov534.c
+++ b/drivers/media/video/gspca/ov534.c
@@ -200,6 +200,10 @@ static const __u8 ov534_reg_initdata[][2] = {
200 { 0x1d, 0x58 }, /* frame size */ 200 { 0x1d, 0x58 }, /* frame size */
201 { 0x1d, 0x00 }, /* frame size */ 201 { 0x1d, 0x00 }, /* frame size */
202 202
203 { 0x1c, 0x0a },
204 { 0x1d, 0x08 }, /* turn on UVC header */
205 { 0x1d, 0x0e }, /* .. */
206
203 { 0x8d, 0x1c }, 207 { 0x8d, 0x1c },
204 { 0x8e, 0x80 }, 208 { 0x8e, 0x80 },
205 { 0xe5, 0x04 }, 209 { 0xe5, 0x04 },