diff options
author | 2024-12-03 21:20:08 +0000 | |
---|---|---|
committer | 2024-12-19 14:44:43 +0000 | |
commit | d9fecd096f67a4469536e040a8a10bbfb665918b (patch) | |
tree | 1b43269a21da9a7348ab644be12f9467cacb43df /scripts/lib/kdoc/kdoc_output.py | |
parent | MAINTAINERS: Add missing file entries for the USB video class driver (diff) | |
download | wireguard-linux-d9fecd096f67a4469536e040a8a10bbfb665918b.tar.xz wireguard-linux-d9fecd096f67a4469536e040a8a10bbfb665918b.zip |
media: uvcvideo: Only save async fh if success
Now we keep a reference to the active fh for any call to uvc_ctrl_set,
regardless if it is an actual set or if it is a just a try or if the
device refused the operation.
We should only keep the file handle if the device actually accepted
applying the operation.
Cc: stable@vger.kernel.org
Fixes: e5225c820c05 ("media: uvcvideo: Send a control event when a Control Change interrupt arrives")
Suggested-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Ricardo Ribalda <ribalda@chromium.org>
Link: https://lore.kernel.org/r/20241203-uvc-fix-async-v6-1-26c867231118@chromium.org
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions