linux/drivers/media
Jai Luthra ad79c9ecea media: ti: j721e-csi2rx: Fix races while restarting DMA
After the frame is submitted to DMA, it may happen that the submitted
list is not updated soon enough, and the DMA callback is triggered
before that.

This can lead to kernel crashes, so move everything in a single
lock/unlock section to prevent such races.

Fixes: b4a3d877dc ("media: ti: Add CSI2RX support for J721E")
Signed-off-by: Jai Luthra <j-luthra@ti.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
2024-04-22 11:41:04 +02:00
..
cec media: platform: cros-ec: provide ID table for avoiding fallback match 2024-04-08 13:48:19 +02:00
common media: v4l2: Add REMOVE_BUFS ioctl 2024-03-25 12:00:44 +01:00
dvb-core media: dvbdev: Initialize sbuf 2024-04-08 13:48:19 +02:00
dvb-frontends media: dvb-frontends: drx39xyj: Refactor firmware upload 2024-04-15 13:42:38 +02:00
firewire media: firewire: firedtv-avc.c: replace BUG with proper, error return 2023-08-10 07:58:37 +02:00
i2c media: adv7180: Only request valids IRQs 2024-04-15 13:42:39 +02:00
mc media: mc: mark the media devnode as registered from the, start 2024-04-22 11:41:04 +02:00
mmc media: mmc: siano: simplify module initialization 2024-04-08 13:48:19 +02:00
pci media: ttpci: coding style fixes: logging 2024-04-16 00:02:53 +02:00
platform media: ti: j721e-csi2rx: Fix races while restarting DMA 2024-04-22 11:41:04 +02:00
radio media: radio-shark2: Avoid led_names truncations 2024-04-08 13:48:19 +02:00
rc media: imon: Convert sprintf/snprintf to sysfs_emit 2024-03-25 10:13:44 +01:00
spi media: cxd2880: Replaze kmalloc with kzalloc 2024-04-15 13:42:38 +02:00
test-drivers media: v4l2: Add mem2mem helpers for REMOVE_BUFS ioctl 2024-03-25 12:00:44 +01:00
tuners media: tunner: xc5000: Refactor firmware load 2024-04-15 13:42:38 +02:00
usb media: usb: siano: Fix allocation of urbs 2024-04-16 00:02:53 +02:00
v4l2-core media: v4l2-ctrls-core.c: Do not use iterator outside loop 2024-04-15 13:42:39 +02:00
Kconfig media: Kconfig: Make DVB_CORE=m possible when MEDIA_SUPPORT=y 2022-12-07 17:58:46 +01:00
Makefile