Re: [PATCH v6 16/17] media: uvcvideo: Return -EACCES to inactive controls

2021-03-18 Thread Hans Verkuil
On 18/03/2021 08:39, Hans Verkuil wrote: > Hi Ricardo, > > On 17/03/2021 17:45, 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. Note that this needs to be

Re: [PATCH v6 16/17] media: uvcvideo: Return -EACCES to inactive controls

2021-03-18 Thread Hans Verkuil
Hi Ricardo, On 17/03/2021 17:45, 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 In several of the

[PATCH v6 16/17] media: uvcvideo: Return -EACCES to inactive controls

2021-03-17 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 | 73 +---