summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/gspca
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2008-12-10 09:47:44 +0100
committerJean-Francois Moine <moinejf@free.fr>2008-12-10 09:47:44 +0100
commit88fe68b0680d49807a552b016bee47a5020b87b3 (patch)
tree04d95e5ae156c3fd39daea6b11b1fa439b792d36 /linux/drivers/media/video/gspca
parent81fedcd49f2a2f04adc9e38e7cf4747218d596b2 (diff)
downloadmediapointer-dvb-s2-88fe68b0680d49807a552b016bee47a5020b87b3.tar.gz
mediapointer-dvb-s2-88fe68b0680d49807a552b016bee47a5020b87b3.tar.bz2
gspca - ov534: Explicitly initialize frame format.
From: Jim Paris <jim@jtan.com> Set frame format registers 0x0a and 0x0b to explicit values rather than relying on reset-time defaults. Priority: normal Signed-off-by: Jim Paris <jim@jtan.com> Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Diffstat (limited to 'linux/drivers/media/video/gspca')
-rw-r--r--linux/drivers/media/video/gspca/ov534.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/linux/drivers/media/video/gspca/ov534.c b/linux/drivers/media/video/gspca/ov534.c
index 74bb7962e..66a7bd2f6 100644
--- a/linux/drivers/media/video/gspca/ov534.c
+++ b/linux/drivers/media/video/gspca/ov534.c
@@ -200,6 +200,10 @@ static const __u8 ov534_reg_initdata[][2] = {
{ 0x1d, 0x58 }, /* frame size */
{ 0x1d, 0x00 }, /* frame size */
+ { 0x1c, 0x0a },
+ { 0x1d, 0x08 }, /* turn on UVC header */
+ { 0x1d, 0x0e }, /* .. */
+
{ 0x8d, 0x1c },
{ 0x8e, 0x80 },
{ 0xe5, 0x04 },