diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-11-08 10:10:19 +0100 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-29 20:53:29 +0100 |
commit | 53e745157b79c79f434a10361a77a8364c15db2f (patch) | |
tree | 86f688b828c5871fe2bdadb893d846ba5fa6c633 /drivers/media/video/gspca/ov519.c | |
parent | V4L/DVB (9561): gspca: Cleanup the source of ov519. (diff) | |
download | linux-53e745157b79c79f434a10361a77a8364c15db2f.tar.xz linux-53e745157b79c79f434a10361a77a8364c15db2f.zip |
V4L/DVB (9562): gspca: Set the default frame rate to 30 fps for sensor ov764x in ov519.
This patch fixes the bad picture at low resolution (320x240).
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/ov519.c')
-rw-r--r-- | drivers/media/video/gspca/ov519.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/media/video/gspca/ov519.c b/drivers/media/video/gspca/ov519.c index 8f9df2db6f1d..27bf7480a2d4 100644 --- a/drivers/media/video/gspca/ov519.c +++ b/drivers/media/video/gspca/ov519.c @@ -1499,8 +1499,8 @@ static int ov519_mode_init_regs(struct sd *sd) switch (sd->sensor) { case SEN_OV7640: switch (sd->frame_rate) { -/*fixme: default was 30 fps */ - case 30: + default: +/* case 30: */ reg_w(sd, 0xa4, 0x0c); reg_w(sd, 0x23, 0xff); break; @@ -1512,8 +1512,7 @@ static int ov519_mode_init_regs(struct sd *sd) reg_w(sd, 0xa4, 0x0c); reg_w(sd, 0x23, 0x1b); break; - default: -/* case 15: */ + case 15: reg_w(sd, 0xa4, 0x04); reg_w(sd, 0x23, 0xff); sd->clockdiv = 1; |