projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f7a50b
)
V4L/DVB (9874): gspca - ov534: Explicitly initialize frame format.
author
Jim Paris
<jim@jtan.com>
Wed, 10 Dec 2008 08:47:44 +0000
(
05:47
-0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Tue, 30 Dec 2008 11:39:01 +0000
(09:39 -0200)
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>
drivers/media/video/gspca/ov534.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/media/video/gspca/ov534.c
b/drivers/media/video/gspca/ov534.c
index 74bb7962e110ac205ef0678618b72b3ec0e2a55e..66a7bd2f6762a7201a686d529d14d45473d3923f 100644
(file)
--- 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] = {
{ 0x1d, 0x58 }, /* frame size */
{ 0x1d, 0x00 }, /* frame size */
+ { 0x1c, 0x0a },
+ { 0x1d, 0x08 }, /* turn on UVC header */
+ { 0x1d, 0x0e }, /* .. */
+
{ 0x8d, 0x1c },
{ 0x8e, 0x80 },
{ 0xe5, 0x04 },