diff options
| author | Jai Luthra <[email protected]> | 2024-02-23 13:53:02 +0530 |
|---|---|---|
| committer | Hans Verkuil <[email protected]> | 2024-04-22 11:41:04 +0200 |
| commit | ad79c9ecea5baa7b4f19677e4b1c881ed89b0c3b (patch) | |
| tree | edcc36d59f146e3b26b4a1194bdb570c3ede15ef /tools/perf/scripts/python/flamegraph.py | |
| parent | fd64dda48f7e3f67ada1e1fe47e784ab350da72e (diff) | |
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: b4a3d877dc92 ("media: ti: Add CSI2RX support for J721E")
Signed-off-by: Jai Luthra <[email protected]>
Signed-off-by: Sakari Ailus <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions