Skip to content

Commit

Permalink
V4L/DVB (9874): gspca - ov534: Explicitly initialize frame format.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jim Paris authored and Mauro Carvalho Chehab committed Dec 30, 2008
1 parent 0f7a50b commit c06eb61
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions drivers/media/video/gspca/ov534.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit c06eb61

Please sign in to comment.