The patch number 9902 was added via Laurent Pinchart 
<laurent.pinch...@skynet.be>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        v4l-dvb-maintai...@linuxtv.org

------

From: Laurent Pinchart  <laurent.pinch...@skynet.be>
uvcvideo: V4L2 privacy control support


Priority: normal

Signed-off-by: Laurent Pinchart <laurent.pinch...@skynet.be>


---

 linux/drivers/media/video/uvc/uvc_ctrl.c |   10 ++++++++++
 1 file changed, 10 insertions(+)

diff -r 8ff88983e65a -r 7c2434c2e1a6 linux/drivers/media/video/uvc/uvc_ctrl.c
--- a/linux/drivers/media/video/uvc/uvc_ctrl.c  Tue Dec 16 07:36:07 2008 -0200
+++ b/linux/drivers/media/video/uvc/uvc_ctrl.c  Tue Dec 16 10:44:11 2008 +0100
@@ -529,6 +529,16 @@ static struct uvc_control_mapping uvc_ct
                .name           = "Focus, Auto",
                .entity         = UVC_GUID_UVC_CAMERA,
                .selector       = CT_FOCUS_AUTO_CONTROL,
+               .size           = 1,
+               .offset         = 0,
+               .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,


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/7c2434c2e1a6a486c3473b786cd3f9b8dc5958f7

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to