From: Martin Rubli Date: Wed, 8 Sep 2010 07:15:23 +0000 (-0300) Subject: [media] uvcvideo: Remove sysadmin requirements for UVCIOC_CTRL_MAP X-Git-Tag: v2.6.37-rc1~64^2~221 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8fb91b33c6bfa3ac5e4ad76920b7bcd7bdbbb6d0;p=pandora-kernel.git [media] uvcvideo: Remove sysadmin requirements for UVCIOC_CTRL_MAP This patch removes the sysadmin requirements for UVCIOC_CTRL_MAP (and the stub implementation of UVCIOC_CTRL_ADD). This requirement no longer makes sense with the new XU control access mechanisms since XU controls can be accessed without adding control mappings first. A maximum number (currently 1024) of control mappings per device is enforced to avoid excess memory consumption caused by careless user space applications. Signed-off-by: Martin Rubli Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed