]> git.karo-electronics.de Git - karo-tx-linux.git/commit
[media] uvcvideo: Return -EACCES when trying to set a read-only control
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 28 Aug 2012 21:38:58 +0000 (18:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 11 Jan 2013 15:30:01 +0000 (13:30 -0200)
commit9bf42300e672fb1b5587d1da5486f8b144e74598
treee6a34288d99d2112fc09b7a14689140d9aa3c2e1
parent734d1ece37fbf3d2ddfc71bc6c69e0fe35f02542
[media] uvcvideo: Return -EACCES when trying to set a read-only control

Commit ba68c8530a263dc4de440fa10bb20a1c5b9d4ff5 (Partly revert "[media]
uvcvideo: Set error_idx properly for extended controls API failures")
also reverted part of commit 30ecb936cbcd83e3735625ac63e1b4466546f5fe
("uvcvideo: Return -EACCES when trying to access a read/write-only
control") by mistake. Fix it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/uvc/uvc_ctrl.c