diff options
| author | Peter Ujfalusi <[email protected]> | 2017-09-21 11:35:32 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2017-09-21 17:33:42 +0000 |
| commit | 2ccb4837c938357233a0b8818e3ca3e58242c952 (patch) | |
| tree | 8fad3dac3958c7bbceb583cd940d34efde1d536e /lib/net_utils.c | |
| parent | dmaengine: edma: Align the memcpy acnt array size with the transfer (diff) | |
| download | kernel-2ccb4837c938357233a0b8818e3ca3e58242c952.tar.gz kernel-2ccb4837c938357233a0b8818e3ca3e58242c952.zip | |
dmaengine: ti-dma-crossbar: Fix possible race condition with dma_inuse
When looking for unused xbar_out lane we should also protect the set_bit()
call with the same mutex to protect against concurrent threads picking the
same ID.
Fixes: ec9bfa1e1a796 ("dmaengine: ti-dma-crossbar: dra7: Use bitops instead of idr")
Signed-off-by: Peter Ujfalusi <[email protected]>
Cc: [email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/net_utils.c')
0 files changed, 0 insertions, 0 deletions
