Commit 972f412d authored by Ricardo Ribalda's avatar Ricardo Ribalda Committed by Greg Kroah-Hartman
Browse files

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: default avatarHans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: default avatarRicardo Ribalda <ribalda@chromium.org>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Stable-dep-of: d9fecd09 ("media: uvcvideo: Only save async fh if success")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent c113bccf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment