From: Laurent Pinchart Date: Sat, 30 Apr 2011 12:46:11 +0000 (-0300) Subject: [media] uvcvideo: Return -ERANGE when userspace sets an unsupported menu entry X-Git-Tag: v3.0-rc1~322^2~87 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f411f103822379bab356345430f097bdae3440e5;p=pandora-kernel.git [media] uvcvideo: Return -ERANGE when userspace sets an unsupported menu entry Instead of passing the value down to the device and getting an error back (or worse, crashing the firmware), return -ERANGE when the requested menu entry is not supported. Signed-off-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed