Re: [PATCH v8 15/19] media: uvcvideo: Set error_idx during ctrl_commit errors

2021-03-20 Thread Hans Verkuil
On 19/03/2021 18:09, Ricardo Ribalda wrote: > If we have an error setting a control, return the affected control in > the error_idx field. > > Signed-off-by: Ricardo Ribalda Reviewed-by: Hans Verkuil Regards, Hans > --- > drivers/media/usb/uvc/uvc_ctrl.c | 42 +++

[PATCH v8 15/19] media: uvcvideo: Set error_idx during ctrl_commit errors

2021-03-19 Thread Ricardo Ribalda
If we have an error setting a control, return the affected control in the error_idx field. Signed-off-by: Ricardo Ribalda --- drivers/media/usb/uvc/uvc_ctrl.c | 42 ++-- drivers/media/usb/uvc/uvc_v4l2.c | 2 +- drivers/media/usb/uvc/uvcvideo.h | 10 +++- 3 files