1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/media/platform/ti
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
..
am437x media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
cal media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
davinci media: vpif_display: Use pad variant of dv timing subdev calls 2024-04-09 08:15:04 +02:00
j721e-csi2rx media: ti: j721e-csi2rx: Fix races while restarting DMA 2024-04-22 11:41:04 +02:00
omap media: videobuf2: core: Rename min_buffers_needed field in vb2_queue 2023-12-13 17:31:27 +01:00
omap3isp media: v4l: subdev: Switch to stream-aware state functions 2023-11-23 18:57:47 +01:00
vpe media: vpe: Convert to platform remove callback returning void 2023-04-11 16:59:19 +02:00
Kconfig media: ti: Add CSI2RX support for J721E 2023-10-12 09:22:29 +02:00
Makefile media: ti: Add CSI2RX support for J721E 2023-10-12 09:22:29 +02:00