From: Ira Snyder Date: Thu, 3 Mar 2011 07:55:00 +0000 (+0000) Subject: fsldma: reduce locking during descriptor cleanup X-Git-Tag: v2.6.39-rc1~203^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc8d4091575ba81e886ebcdfd1e559c981f82f86;p=pandora-kernel.git fsldma: reduce locking during descriptor cleanup This merges the fsl_chan_ld_cleanup() function into the dma_do_tasklet() function to reduce locking overhead. In the best case, we will be able to keep the DMA controller busy while we are freeing used descriptors. In all cases, the spinlock is grabbed two times fewer than before on each transaction. Signed-off-by: Ira W. Snyder Signed-off-by: Dan Williams --- Reading git-diff-tree failed