diff options
author | Laurent Pinchart <laurent.pinchart@skynet.be> | 2008-12-16 04:44:11 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2008-12-30 06:39:11 -0500 |
commit | 6df126f834c7f6972528cba43604ce0c97329886 (patch) | |
tree | 65189aa76f9bbdbeb61d2fb127e2bb26db8226e4 /drivers/media/video/uvc | |
parent | 74980159e75e3a6913d23d1508da57d018fe7436 (diff) |
V4L/DVB (9902): uvcvideo: V4L2 privacy control support
Signed-off-by: Laurent Pinchart <laurent.pinchart@skynet.be>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/uvc')
-rw-r--r-- | drivers/media/video/uvc/uvc_ctrl.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/drivers/media/video/uvc/uvc_ctrl.c b/drivers/media/video/uvc/uvc_ctrl.c index 77b92e67953d..335cb00e595b 100644 --- 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[] = { | |||
532 | .v4l2_type = V4L2_CTRL_TYPE_BOOLEAN, | 532 | .v4l2_type = V4L2_CTRL_TYPE_BOOLEAN, |
533 | .data_type = UVC_CTRL_DATA_TYPE_BOOLEAN, | 533 | .data_type = UVC_CTRL_DATA_TYPE_BOOLEAN, |
534 | }, | 534 | }, |
535 | { | ||
536 | .id = V4L2_CID_PRIVACY, | ||
537 | .name = "Privacy", | ||
538 | .entity = UVC_GUID_UVC_CAMERA, | ||
539 | .selector = CT_PRIVACY_CONTROL, | ||
540 | .size = 1, | ||
541 | .offset = 0, | ||
542 | .v4l2_type = V4L2_CTRL_TYPE_BOOLEAN, | ||
543 | .data_type = UVC_CTRL_DATA_TYPE_BOOLEAN, | ||
544 | }, | ||
535 | }; | 545 | }; |
536 | 546 | ||
537 | /* ------------------------------------------------------------------------ | 547 | /* ------------------------------------------------------------------------ |