linux-yocto/drivers/media
Ricardo Ribalda d9fecd096f 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: e5225c820c ("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>
2024-12-19 14:44:43 +00:00
..
cec Linux 6.12-rc7 2024-11-11 12:16:33 +01:00
common media: b2c2: Remove unused functions 2024-12-02 14:05:24 +01:00
dvb-core media: dvbdev: fix the logic when DVB_DYNAMIC_MINORS is not set 2024-11-06 22:32:52 +01:00
dvb-frontends media: cxd2841er: fix 64-bit division on gcc-9 2024-12-02 14:05:23 +01:00
firewire
i2c media: i2c: imx208: Use const 'struct bin_attribute' callback 2024-12-19 12:50:19 +01:00
mc media updates for v6.13-rc1 2024-11-20 14:01:15 -08:00
mmc
pci media: intel/ipu6: move some boot messages to debug level 2024-12-19 12:50:15 +01:00
platform media: camif-core: Add check for clk_enable() 2024-12-19 12:50:18 +01:00
radio media: remove dead TI wl128x FM radio driver 2024-12-02 14:05:23 +01:00
rc media: rc: iguanair: handle timeouts 2024-12-11 19:48:17 +01:00
spi
test-drivers media updates for v6.13-rc1 2024-11-20 14:01:15 -08:00
tuners media: tuners: fc0013 Remove unused functions 2024-12-02 14:05:25 +01:00
usb media: uvcvideo: Only save async fh if success 2024-12-19 14:44:43 +00:00
v4l2-core media: mc: fix endpoint iteration 2024-12-19 12:50:17 +01:00
Kconfig
Makefile