diff options
author | 2025-02-24 10:34:55 +0000 | |
---|---|---|
committer | 2025-05-09 15:29:12 +0200 | |
commit | a70705d3c020d0d5c3ab6a5cc93e011ac35e7d48 (patch) | |
tree | 25e4a201d32f6ea78f1ce1e82b597371dc71801c /tools/testing/selftests/bpf/prog_tests/autoload.c | |
parent | media: uvcvideo: Send control events for partial succeeds (diff) | |
download | wireguard-linux-a70705d3c020d0d5c3ab6a5cc93e011ac35e7d48.tar.xz wireguard-linux-a70705d3c020d0d5c3ab6a5cc93e011ac35e7d48.zip |
media: uvcvideo: Rollback non processed entities on error
If we fail to commit an entity, we need to restore the
UVC_CTRL_DATA_BACKUP for the other uncommitted entities. Otherwise the
control cache and the device would be out of sync.
Cc: stable@kernel.org
Fixes: b4012002f3a3 ("[media] uvcvideo: Add support for control events")
Reported-by: Hans de Goede <hdegoede@redhat.com>
Closes: https://lore.kernel.org/linux-media/fe845e04-9fde-46ee-9763-a6f00867929a@redhat.com/
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Message-ID: <20250224-uvc-data-backup-v2-3-de993ed9823b@chromium.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/autoload.c')
0 files changed, 0 insertions, 0 deletions