diff options
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2022-02-06 12:47:45 +0300 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2022-04-11 17:22:40 +0300 |
commit | 52126d4c03798cc55aa927fea4c776ab26b5a5f0 (patch) | |
tree | c438badcf0ee9f80478bf7963db70f14d7c8d197 /drivers/dma/qcom | |
parent | 2d7991fe867974a8e5065ee9691451a406b9320d (diff) | |
download | linux-52126d4c03798cc55aa927fea4c776ab26b5a5f0.tar.xz |
dmaengine: Remove a useless mutex
According to lib/idr.c,
The IDA handles its own locking. It is safe to call any of the IDA
functions without synchronisation in your code.
so the 'chan_mutex' mutex can just be removed.
It is here only to protect some ida_alloc()/ida_free() calls.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Link: https://lore.kernel.org/r/7180452c1d77b039e27b6f9418e0e7d9dd33c431.1644140845.git.christophe.jaillet@wanadoo.fr
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/qcom')
0 files changed, 0 insertions, 0 deletions