Re: [PATCH v5 10/13] media: uvcvideo: Return -EACCES to inactive controls

2021-03-17 Thread Hans Verkuil
On 16/03/2021 19:00, Ricardo Ribalda wrote: > If a control is inactive return -EACCES to let the userspace know that > the value will not be applied automatically when the control is active > again. > > Signed-off-by: Ricardo Ribalda > Suggested-by: Hans Verkuil > --- > drivers/media/usb/uvc/uv

[PATCH v5 10/13] media: uvcvideo: Return -EACCES to inactive controls

2021-03-16 Thread Ricardo Ribalda
If a control is inactive return -EACCES to let the userspace know that the value will not be applied automatically when the control is active again. Signed-off-by: Ricardo Ribalda Suggested-by: Hans Verkuil --- drivers/media/usb/uvc/uvc_ctrl.c | 17 - 1 file changed, 16 insertio