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:
7498015
)
V4L/DVB (9902): uvcvideo: V4L2 privacy control support
author
Laurent Pinchart
<
[email protected]
>
Tue, 16 Dec 2008 09:44:11 +0000
(06:44 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Tue, 30 Dec 2008 11:39:11 +0000
(09:39 -0200)
Signed-off-by: Laurent Pinchart <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/video/uvc/uvc_ctrl.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/uvc/uvc_ctrl.c
b/drivers/media/video/uvc/uvc_ctrl.c
index 77b92e67953da67f03f1f9e4584aa3cb5a42812f..335cb00e595b1db2f869b9b0b524ddcbe1531f66 100644
(file)
--- a/
drivers/media/video/uvc/uvc_ctrl.c
+++ b/
drivers/media/video/uvc/uvc_ctrl.c
@@
-532,6
+532,16
@@
static struct uvc_control_mapping uvc_ctrl_mappings[] = {
.v4l2_type = V4L2_CTRL_TYPE_BOOLEAN,
.data_type = UVC_CTRL_DATA_TYPE_BOOLEAN,
},
+ {
+ .id = V4L2_CID_PRIVACY,
+ .name = "Privacy",
+ .entity = UVC_GUID_UVC_CAMERA,
+ .selector = CT_PRIVACY_CONTROL,
+ .size = 1,
+ .offset = 0,
+ .v4l2_type = V4L2_CTRL_TYPE_BOOLEAN,
+ .data_type = UVC_CTRL_DATA_TYPE_BOOLEAN,
+ },
};
/* ------------------------------------------------------------------------