Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161608
b: refs/heads/master
c: 760f271
h: refs/heads/master
v: v3
  • Loading branch information
Jean-Francois Moine authored and Mauro Carvalho Chehab committed Sep 12, 2009
1 parent 5656792 commit 4b547b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2e1794b51b3917d09412a118711ef994ea72a403
refs/heads/master: 760f2713cb09c532154d41ae6f2d32e787580758
6 changes: 3 additions & 3 deletions trunk/drivers/media/video/gspca/sunplus.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ MODULE_LICENSE("GPL");
struct sd {
struct gspca_dev gspca_dev; /* !! must be the first item */

u8 brightness;
s8 brightness;
u8 contrast;
u8 colors;
u8 autogain;
Expand Down Expand Up @@ -73,8 +73,8 @@ static struct ctrl sd_ctrls[] = {
.id = V4L2_CID_BRIGHTNESS,
.type = V4L2_CTRL_TYPE_INTEGER,
.name = "Brightness",
.minimum = 0,
.maximum = 0xff,
.minimum = -128,
.maximum = 127,
.step = 1,
#define BRIGHTNESS_DEF 0
.default_value = BRIGHTNESS_DEF,
Expand Down

0 comments on commit 4b547b4

Please sign in to comment.