diff options
author | Jean-Francois Moine <moinejf@free.fr> | 2008-11-08 10:10:19 +0100 |
---|---|---|
committer | Jean-Francois Moine <moinejf@free.fr> | 2008-11-08 10:10:19 +0100 |
commit | 7f195d77906a36c3dfeb4b178c779819fa22456c (patch) | |
tree | 4334b8158fdd9f1779c65ab0127376d778bd2556 /linux/drivers/media/video/gspca | |
parent | a2f3a7bb3bf3460b6ba9413ac34d064b9d4a9117 (diff) | |
download | mediapointer-dvb-s2-7f195d77906a36c3dfeb4b178c779819fa22456c.tar.gz mediapointer-dvb-s2-7f195d77906a36c3dfeb4b178c779819fa22456c.tar.bz2 |
gspca: Set the default frame rate to 30 fps for sensor ov764x in ov519.
From: Jean-Francois Moine <moinejf@free.fr>
This patch fixes the bad picture at low resolution (320x240).
Priority: normal
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/ov519.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/linux/drivers/media/video/gspca/ov519.c b/linux/drivers/media/video/gspca/ov519.c index bb7f746ce..b18d98191 100644 --- a/linux/drivers/media/video/gspca/ov519.c +++ b/linux/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; |