summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJean-Francois Moine <moinejf@free.fr>2009-01-10 16:14:12 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-03-30 12:42:31 -0300
commitb505cbcb095b8f55a7c594a78863f45ec28f59c9 (patch)
treec47bccf8efcb618d026add4dcebd89c537461226 /drivers
parent8789d810f104a3e9f4289382968cf5482934b9fd (diff)
downloadblackbird-op-linux-b505cbcb095b8f55a7c594a78863f45ec28f59c9.tar.gz
blackbird-op-linux-b505cbcb095b8f55a7c594a78863f45ec28f59c9.zip
V4L/DVB (10354): gspca - tv8532: Change the max brightness.
Signed-off-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/tv8532.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/media/video/gspca/tv8532.c b/drivers/media/video/gspca/tv8532.c
index 97ffaa7f933c..9f243d7e3110 100644
--- a/drivers/media/video/gspca/tv8532.c
+++ b/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,
OpenPOWER on IntegriCloud