From: Martin Rubli Date: Sat, 2 Oct 2010 22:10:16 +0000 (-0300) Subject: [media] uvcvideo: Add UVCIOC_CTRL_QUERY ioctl X-Git-Tag: v3.0-rc1~322^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe78d187fe792fac5d190b19a2806c23df28891e;p=pandora-kernel.git [media] uvcvideo: Add UVCIOC_CTRL_QUERY ioctl This ioctl extends UVCIOC_CTRL_GET/SET by not only allowing to get/set XU controls but to also send arbitrary UVC commands to XU controls, namely GET_CUR, SET_CUR, GET_MIN, GET_MAX, GET_RES, GET_LEN, GET_INFO and GET_DEF. This is required for applications to work with XU controls, so that they can properly query the size and allocate the necessary buffers. Signed-off-by: Martin Rubli Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed