summaryrefslogtreecommitdiff
path: root/fs
diff options
context:
space:
mode:
authorPeter Ujfalusi <peter.ujfalusi@ti.com>2017-09-21 14:35:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-18 09:38:27 +0200
commitc55e7d0a4e3f7ff9781141b48a0d9ddc0b6917cf (patch)
treefce68ee73f7fd5533a7ab266b6ec91242f3be2ff /fs
parent344d82b632e77a9c52017c8862c1d3f2cd643c8d (diff)
dmaengine: ti-dma-crossbar: Fix possible race condition with dma_inuse
commit 2ccb4837c938357233a0b8818e3ca3e58242c952 upstream. 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 <peter.ujfalusi@ti.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions