diff options
author | Xiang Wang <wangx@marvell.com> | 2013-06-18 08:55:58 +0200 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-08-05 06:02:26 +0200 |
commit | 027f28b7bb589d726e3b6274a7d9272336522c65 (patch) | |
tree | f699fc2744df365bbd181b7351781bc3f7b389de /drivers/dma/intel_mid_dma_regs.h | |
parent | dmaengine/MAINTAINERS: Add Andy as Co-Maintainer of DW DMA Controller (diff) | |
download | linux-027f28b7bb589d726e3b6274a7d9272336522c65.tar.xz linux-027f28b7bb589d726e3b6274a7d9272336522c65.zip |
dma: mmp_pdma: add protect when alloc/free phy channels
In mmp pdma, phy channels are allocated/freed dynamically
and frequently. But no proper protection is added.
Conflict will happen when multi-users are requesting phy
channels at the same time. Use spinlock to protect.
Signed-off-by: Xiang Wang <wangx@marvell.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma/intel_mid_dma_regs.h')
0 files changed, 0 insertions, 0 deletions