Skip to content

Commit

Permalink
V4L/DVB (10354): gspca - tv8532: Change the max brightness.
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Francois Moine <moinejf@free.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Mar 30, 2009
1 parent 8789d81 commit b505cbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/media/video/gspca/tv8532.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit b505cbc

Please sign in to comment.