dma: mxs-dma: make mxs_dma_prep_slave_sg() multi user safe
authorLothar Waßmann <LW@KARO-electronics.de>
Thu, 8 Dec 2011 08:15:43 +0000 (09:15 +0100)
committerVinod Koul <vinod.koul@linux.intel.com>
Fri, 23 Dec 2011 15:24:55 +0000 (20:54 +0530)
Using a static variable for counting the number of CCWs attached to
a DMA channel when appending a new descriptor is not multi user safe.

Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>

No differences found