diff options
author | hans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain> | 2009-06-14 11:32:52 +0200 |
---|---|---|
committer | hans@rhel5-devel.localdomain <hans@rhel5-devel.localdomain> | 2009-06-14 11:32:52 +0200 |
commit | dec7dfbe6bb0db2c291c8ce8578fd560c466924c (patch) | |
tree | 5257f37c3920e402670f15218cd54565f6d9ebc5 /linux/drivers | |
parent | b66ae47f478b899e8be15db137f7dae5353c385d (diff) | |
download | mediapointer-dvb-s2-dec7dfbe6bb0db2c291c8ce8578fd560c466924c.tar.gz mediapointer-dvb-s2-dec7dfbe6bb0db2c291c8ce8578fd560c466924c.tar.bz2 |
gspca_ov519: Better default contrast for ov6630
From: Hans de Goede <hdegoede@redhat.com>
Hmm, another one with an extra if (life sucks) the
default contrast really is no good for the ov6630, it
isn't even high enough in full daylight, this gives
the ov6630 a different initial value for a better out
of the box experience.
Priority: normal
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/gspca/ov519.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/linux/drivers/media/video/gspca/ov519.c b/linux/drivers/media/video/gspca/ov519.c index 129941693..4244819f1 100644 --- a/linux/drivers/media/video/gspca/ov519.c +++ b/linux/drivers/media/video/gspca/ov519.c @@ -1740,7 +1740,10 @@ static int sd_config(struct gspca_dev *gspca_dev, break; } sd->brightness = BRIGHTNESS_DEF; - sd->contrast = CONTRAST_DEF; + if (sd->sensor == SEN_OV6630 || sd->sensor == SEN_OV66308AF) + sd->contrast = 200; /* The default is too low for the ov6630 */ + else + sd->contrast = CONTRAST_DEF; sd->colors = COLOR_DEF; sd->hflip = HFLIP_DEF; sd->vflip = VFLIP_DEF; |