summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-01-10 20:14:12 +0100
committerJean-Francois Moine <moinejf@free.fr>2009-01-10 20:14:12 +0100
commit07204c883fe47f8936c1288e11252a14173dce1e (patch)
treeb68f4af62904cfd4671e90e5435b262e50fc2802
parent090f6baf5cf3eea5a88f5c48269bd8b2918c72a2 (diff)
downloadmediapointer-dvb-s2-07204c883fe47f8936c1288e11252a14173dce1e.tar.gz
mediapointer-dvb-s2-07204c883fe47f8936c1288e11252a14173dce1e.tar.bz2
gspca - tv8532: Change the max brightness.
From: Jean-Francois Moine <moinejf@free.fr> Priority: normal Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
-rw-r--r--linux/drivers/media/video/gspca/tv8532.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/video/gspca/tv8532.c b/linux/drivers/media/video/gspca/tv8532.c
index 024d798ad..79b78f234 100644
--- a/linux/drivers/media/video/gspca/tv8532.c
+++ b/linux/drivers/media/video/gspca/tv8532.c
@@ -46,9 +46,9 @@ static struct ctrl sd_ctrls[] = {
.type = V4L2_CTRL_TYPE_INTEGER,
.name = "Brightness",
.minimum = 1,
- .maximum = 0x2ff,
+ .maximum = 0x15f, /* = 352 - 1 */
.step = 1,
-#define BRIGHTNESS_DEF 0x18f
+#define BRIGHTNESS_DEF 0x14c
.default_value = BRIGHTNESS_DEF,
},
.set = sd_setbrightness,