diff options
author | Sanjay R Mehta <[email protected]> | 2022-02-02 09:14:39 -0600 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2022-02-15 10:54:54 +0530 |
commit | 6fa7e0e836e23e2c758ac3930b040c8abbbf8a6f (patch) | |
tree | b6c7cc353fef1bc5733ceb71e4e6a43e863e7cff /drivers/fpga/fpga-mgr.c | |
parent | 614c8beca7cd6e7093385c88da800e258b7eb0ca (diff) |
dmaengine: ptdma: fix concurrency issue with multiple dma transfer
The command should be submitted only if the engine is idle,
for this, the next available descriptor is checked and set the flag
to false in case the descriptor is non-empty.
Signed-off-by: Sanjay R Mehta <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions