aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-01-05 14:01:16 -0500
committerMauro Carvalho Chehab <mchehab@redhat.com>2011-01-19 08:45:05 -0500
commitf913c001cd6084db0e3486b832234d2fe4513ff6 (patch)
tree3a57ad26367e43004873f624c9adfbfce2ddb396 /drivers
parent0a76cb8cefbaf84465e0cd9a6a1da7f54981c8ef (diff)
[media] gspca_sonixb: Adjust autoexposure window for vga cams so that it is centered
Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Jean-Francois Moine <moinejf@free.fr> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/gspca/sonixb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/sonixb.c b/drivers/media/video/gspca/sonixb.c
index 43784027568f..e88097f3d7ed 100644
--- a/drivers/media/video/gspca/sonixb.c
+++ b/drivers/media/video/gspca/sonixb.c
@@ -1027,7 +1027,7 @@ static void do_autogain(struct gspca_dev *gspca_dev)
1027 desired_avg_lum = 5000; 1027 desired_avg_lum = 5000;
1028 } else { 1028 } else {
1029 deadzone = 1500; 1029 deadzone = 1500;
1030 desired_avg_lum = 18000; 1030 desired_avg_lum = 13000;
1031 } 1031 }
1032 1032
1033 if (sensor_data[sd->sensor].flags & F_COARSE_EXPO) 1033 if (sensor_data[sd->sensor].flags & F_COARSE_EXPO)
@@ -1135,7 +1135,7 @@ static int sd_start(struct gspca_dev *gspca_dev)
1135 } else { 1135 } else {
1136 regs[0x1a] = 0x1d; /* HO_SIZE 960, makes no sense */ 1136 regs[0x1a] = 0x1d; /* HO_SIZE 960, makes no sense */
1137 regs[0x1b] = 0x10; /* VO_SIZE 512, makes no sense */ 1137 regs[0x1b] = 0x10; /* VO_SIZE 512, makes no sense */
1138 regs[0x1c] = 0x02; /* AE H-start 64 */ 1138 regs[0x1c] = 0x05; /* AE H-start 160 */
1139 regs[0x1d] = 0x03; /* AE V-start 96 */ 1139 regs[0x1d] = 0x03; /* AE V-start 96 */
1140 regs[0x1e] = 0x0f; /* AE H-end 480 */ 1140 regs[0x1e] = 0x0f; /* AE H-end 480 */
1141 regs[0x1f] = 0x0c; /* AE V-end 384 */ 1141 regs[0x1f] = 0x0c; /* AE V-end 384 */