Skip to content

Commit

Permalink
V4L/DVB (8369): gspca: Bad initialization of sn9c102 ov7630.
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Jul 20, 2008
1 parent d87616f commit 1ff1e48
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion drivers/media/video/gspca/sonixb.c
Original file line number Diff line number Diff line change
Expand Up @@ -938,7 +938,7 @@ static void sd_start(struct gspca_dev *gspca_dev)
case SENSOR_OV7630:
reg01 = 0x06;
reg17 = 0x29;
l = 0x10;
l = sizeof initOv7630;
break;
case SENSOR_OV7630_3:
reg01 = 0x44;
Expand Down
4 changes: 2 additions & 2 deletions drivers/media/video/gspca/vc032x.c
Original file line number Diff line number Diff line change
Expand Up @@ -925,14 +925,14 @@ static const __u8 ov7660_initQVGA_data[][4] = {
{0xb8, 0x8f, 0xff, 0xcc}, /* ff */
{0x00, 0x29, 0x3c, 0xaa},
{0xb3, 0x01, 0x45, 0xcc}, /* 45 */
{0x00, 0x00, 0x00, 0x00}
{}
};

static const __u8 ov7660_50HZ[][4] = {
{0x00, 0x3b, 0x08, 0xaa},
{0x00, 0x9d, 0x40, 0xaa},
{0x00, 0x13, 0xa7, 0xaa},
{0x00, 0x00, 0x00, 0x00}
{}
};

static const __u8 ov7660_60HZ[][4] = {
Expand Down

0 comments on commit 1ff1e48

Please sign in to comment.