From: Lothar Waßmann Date: Thu, 8 Dec 2011 08:15:43 +0000 (+0100) Subject: dma: mxs-dma: make mxs_dma_prep_slave_sg() multi user safe X-Git-Tag: v3.3-rc1~19^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6d23ea4b1906f28f5d99ad6aeef7207c48be6bfd;p=pandora-kernel.git 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 Signed-off-by: Vinod Koul --- Reading git-diff-tree failed