Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6df126f8 authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB (9902): uvcvideo: V4L2 privacy control support

parent 74980159
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -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,
	},
};

/* ------------------------------------------------------------------------