commit | 6d23ea4b1906f28f5d99ad6aeef7207c48be6bfd | [log] [tgz] |
---|---|---|
author | Lothar Waßmann <LW@KARO-electronics.de> | Thu Dec 08 09:15:43 2011 +0100 |
committer | Vinod Koul <vinod.koul@linux.intel.com> | Fri Dec 23 20:54:55 2011 +0530 |
tree | d448c976c70aa3bf028fb9cf8c91a7b7f046129d | |
parent | feb397de65c3f76e40ef70e264f2cdf688c850c1 [diff] |
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>