V4L/DVB (10354): gspca - tv8532: Change the max brightness.
authorJean-Francois Moine <moinejf@free.fr>
Sat, 10 Jan 2009 19:14:12 +0000 (16:14 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Mar 2009 15:42:31 +0000 (12:42 -0300)
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/tv8532.c

index 97ffaa7..9f243d7 100644 (file)
@@ -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,