projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7025e52
)
[media] gspca_pac7311: Correct number of controls
author
Hans de Goede
<hdegoede@redhat.com>
Mon, 14 May 2012 17:51:22 +0000
(14:51 -0300)
committer
Mauro Carvalho Chehab
<mchehab@redhat.com>
Mon, 11 Jun 2012 19:05:43 +0000
(16:05 -0300)
This avoids the need for a re-alloc during init.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/gspca/pac7311.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/gspca/pac7311.c
b/drivers/media/video/gspca/pac7311.c
index 2cb7d95f7be7ef7c21d465ac36a4dbed3c86155e..115da169f32af62de40570cdb25f179abad21fba 100644
(file)
--- a/
drivers/media/video/gspca/pac7311.c
+++ b/
drivers/media/video/gspca/pac7311.c
@@
-418,7
+418,7
@@
static int sd_init_controls(struct gspca_dev *gspca_dev)
struct v4l2_ctrl_handler *hdl = &gspca_dev->ctrl_handler;
gspca_dev->vdev.ctrl_handler = hdl;
- v4l2_ctrl_handler_init(hdl,
4
);
+ v4l2_ctrl_handler_init(hdl,
5
);
sd->contrast = v4l2_ctrl_new_std(hdl, &sd_ctrl_ops,
V4L2_CID_CONTRAST, 0, 15, 1, 7);