]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commit6d23ea4b1906f28f5d99ad6aeef7207c48be6bfd
treed448c976c70aa3bf028fb9cf8c91a7b7f046129d
parentfeb397de65c3f76e40ef70e264f2cdf688c850c1
dma: mxs-dma: make mxs_dma_prep_slave_sg() multi user safe

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>
drivers/dma/mxs-dma.c