From: Ira Snyder Date: Wed, 6 Jan 2010 13:34:06 +0000 (+0000) Subject: fsldma: major cleanups and fixes X-Git-Tag: v2.6.34-rc1~204^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9c3a50b7d7ec45da34e73cac66cde12dd6092dd8;p=pandora-kernel.git fsldma: major cleanups and fixes Fix locking. Use two queues in the driver, one for pending transacions, and one for transactions which are actually running on the hardware. Call dma_run_dependencies() on descriptor cleanup so that the async_tx API works correctly. There are a number of places throughout the code where lists of descriptors are freed in a loop. Create functions to handle this, and use them instead of open-coding the loop each time. Signed-off-by: Ira W. Snyder Signed-off-by: Dan Williams --- Reading git-diff-tree failed