From: Laurent Pinchart Date: Tue, 28 Aug 2012 21:38:58 +0000 (-0300) Subject: [media] uvcvideo: Return -EACCES when trying to access a read/write-only control X-Git-Tag: omap-for-v3.8/fixes-for-merge-window-v4-signed~21^2^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=30ecb936cbcd83e3735625ac63e1b4466546f5fe;p=pandora-kernel.git [media] uvcvideo: Return -EACCES when trying to access a read/write-only control The proper return code according to the V4L2 specification is -EACCES, not -EINVAL. Signed-off-by: Laurent Pinchart Acked-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed