Re: [PATCH v9 16/22] media: uvcvideo: Return -EACCES to inactive controls

2021-03-27 Thread Hans Verkuil
On 26/03/2021 10:58, 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. > > Suggested-by: Hans Verkuil > Signed-off-by: Ricardo Ribalda Reviewed-by: Hans Verkuil > --

[PATCH v9 16/22] media: uvcvideo: Return -EACCES to inactive controls

2021-03-26 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. Suggested-by: Hans Verkuil Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_ctrl.c | 71 +--- 1 file chang