linux/drivers/media
Sergey Senozhatsky 6c9934c5a0 media: venus: fix enc/dec destruction order
We destroy mutex-es too early as they are still taken in
v4l2_fh_exit()->v4l2_event_unsubscribe()->v4l2_ctrl_find().

We should destroy mutex-es right before kfree().  Also
do not vdec_ctrl_deinit() before v4l2_fh_exit().

Fixes: 7472c1c691 ("[media] media: venus: vdec: add video decoder files")
Suggested-by: Tomasz Figa <tfiga@google.com>
Signed-off-by: Sergey Senozhatsky <senozhatsky@chromium.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Stanimir Varbanov <stanimir.k.varbanov@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
2024-11-07 10:43:31 +00:00
..
cec media: cec: seco: add HAS_IOPORT dependency 2024-10-12 16:28:26 +02:00
common media: vb2: fix confusing log message 2024-10-28 15:35:56 +01:00
dvb-core media: dvb-core: add missing buffer index check 2024-10-12 07:42:35 +02:00
dvb-frontends media: rtl2832_sdr: drop vb2_ops_wait_prepare/finish 2024-10-28 09:19:56 +01:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: i2c: dw9768: Use runtime PM autosuspend 2024-11-07 09:05:59 +01:00
mc media: mc: Rename pad as origin in __media_pipeline_start() 2024-11-07 09:05:58 +01:00
mmc media: mmc: siano: simplify module initialization 2024-04-08 13:48:19 +02:00
pci media: ipu6: make the ipu6_mmu_unmap() as a void function 2024-11-07 09:05:58 +01:00
platform media: venus: fix enc/dec destruction order 2024-11-07 10:43:31 +00:00
radio media: wl128x: Fix atomicity violation in fmc_send_cmd() 2024-10-12 16:28:26 +02:00
rc media: ati_remote: don't push static constants on stack for %*ph 2024-10-29 16:37:23 +01:00
spi media: gs1662: remove unused struct 'gs_reg_fmt_custom' 2024-05-31 13:51:16 +02:00
test-drivers media: v4l2-core: v4l2-dv-timings: check cvt/gtf result 2024-10-28 15:35:56 +01:00
tuners media: Switch back to struct platform_driver::remove() 2024-10-12 16:28:25 +02:00
usb media: gspca: ov534-ov772x: Fix off-by-one error in set_frame_rate() 2024-11-07 09:05:57 +01:00
v4l2-core media: v4l2-subdev: Refactor events 2024-11-07 09:05:57 +01:00
Kconfig
Makefile