[media] gspca - stv06xx: Set a lower default value of gain for hdcs sensors
authorJean-François Moine <moinejf@free.fr>
Mon, 23 May 2011 07:51:10 +0000 (04:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 1 Jun 2011 11:26:54 +0000 (08:26 -0300)
Many users said that the default gain value (128) was giving white images.
The value which was in the original qc-usb driver (50) is better.

Signed-off-by: Jean-François Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/stv06xx/stv06xx_hdcs.h

index b538dce96f78d8cbb1c7297ea8b40ce21712ea7b..a14a84a5079b96d4da4b932d206d99b4d1a9532e 100644 (file)
 #define HDCS_SLEEP_MODE                (1 << 1)
 
 #define HDCS_DEFAULT_EXPOSURE  48
-#define HDCS_DEFAULT_GAIN      128
+#define HDCS_DEFAULT_GAIN      50
 
 static int hdcs_probe_1x00(struct sd *sd);
 static int hdcs_probe_1020(struct sd *sd);