media: uvcvideo: Set error_idx during ctrl_commit errors
[ Upstream commit 6350d6a4 ] If we have an error setting a control, return the affected control in the error_idx field. Reviewed-by:Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by:
Ricardo Ribalda <ribalda@chromium.org> Signed-off-by:
Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by:
Mauro Carvalho Chehab <mchehab+huawei@kernel.org> Stable-dep-of: d9fecd09 ("media: uvcvideo: Only save async fh if success") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading