From: Hans de Goede Date: Wed, 19 May 2010 23:15:00 +0000 (-0300) Subject: V4L/DVB: uvcvideo: Make button controls work properly X-Git-Tag: v2.6.36-rc1~582^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3653639e5daf2ac5f4763e4f1b6cb57538184be9;p=pandora-kernel.git V4L/DVB: uvcvideo: Make button controls work properly According to the v4l2 spec, writing any value to a button control should result in the action belonging to the button control being triggered. UVC cams however want to see a 1 written, this patch fixes this by overriding whatever value user space passed in with -1 (0xffffffff) when the control is a button control. Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed