diff options
author | Ira Snyder <iws@ovro.caltech.edu> | 2011-03-03 02:55:00 -0500 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2011-03-11 20:52:37 -0500 |
commit | dc8d4091575ba81e886ebcdfd1e559c981f82f86 (patch) | |
tree | 701c55d8e54d8f4c376a0af4ce10356875c86164 /drivers/dma/shdma.c | |
parent | 9c4d1e7bdeb1ed4dc0c3341d40662a6fbc5f2dc2 (diff) |
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 <iws@ovro.caltech.edu>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/dma/shdma.c')
0 files changed, 0 insertions, 0 deletions