]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
media: uvcvideo: Return the number of processed controls
authorRicardo Ribalda <ribalda@chromium.org>
Mon, 24 Feb 2025 10:34:53 +0000 (10:34 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 27 Jun 2025 10:07:28 +0000 (11:07 +0100)
commit62bba32a99584835115287b79bd3378abde7b5e9
tree5e5c0f51b831acdf2fd8bb2ecac55e4dd193f3d7
parent6abeaa5243b8d49293cc93f195e08f4261217c71
media: uvcvideo: Return the number of processed controls

commit ba4fafb02ad6a4eb2e00f861893b5db42ba54369 upstream.

If we let know our callers that we have not done anything, they will be
able to optimize their decisions.

Cc: stable@kernel.org
Fixes: b4012002f3a3 ("[media] uvcvideo: Add support for control events")
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Message-ID: <20250224-uvc-data-backup-v2-1-de993ed9823b@chromium.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/media/usb/uvc/uvc_ctrl.c