From: Jean-François Moine Date: Mon, 23 May 2011 07:51:10 +0000 (-0300) Subject: [media] gspca - stv06xx: Set a lower default value of gain for hdcs sensors X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=5ff01d54fe218be1b7e50fec30e111eb1bc224ea;p=linux-beck.git [media] gspca - stv06xx: Set a lower default value of gain for hdcs sensors 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 Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/gspca/stv06xx/stv06xx_hdcs.h b/drivers/media/video/gspca/stv06xx/stv06xx_hdcs.h index b538dce96f78..a14a84a5079b 100644 --- a/drivers/media/video/gspca/stv06xx/stv06xx_hdcs.h +++ b/drivers/media/video/gspca/stv06xx/stv06xx_hdcs.h @@ -125,7 +125,7 @@ #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);