Skip to content

Commit

Permalink
fsldma: major cleanups and fixes
Browse files Browse the repository at this point in the history
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 <iws@ovro.caltech.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
  • Loading branch information
Ira Snyder authored and Dan Williams committed Feb 2, 2010
1 parent a1c0331 commit 9c3a50b
Show file tree
Hide file tree
Showing 2 changed files with 207 additions and 182 deletions.
Loading

0 comments on commit 9c3a50b

Please sign in to comment.