]> git.karo-electronics.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:52 +0000 (08:33 +0200)
commited6ea0c1b65a9762604300223cd2129eb7299191
tree54078fdb606a917b04f9ea76f95cf5b627647052
parentc5d4b4a84f11275df5e98f0049566b32217f542a
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