Dan Williams bec085134e dmaengine: centralize channel allocation, introduce dma_find_channel
Allowing multiple clients to each define their own channel allocation
scheme quickly leads to a pathological situation.  For memory-to-memory
offload all clients can share a central allocator.

This simply moves the existing async_tx allocator to dmaengine with
minimal fixups:
* async_tx.c:get_chan_ref_by_cap --> dmaengine.c:nth_chan
* async_tx.c:async_tx_rebalance --> dmaengine.c:dma_channel_rebalance
* split out common code from async_tx.c:__async_tx_find_channel -->
  dma_find_channel

Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
2009-01-06 11:38:14 -07:00
..
2008-12-25 11:05:13 +11:00
2008-12-25 11:02:06 +11:00
2008-08-29 15:49:57 +10:00
2008-12-25 11:02:07 +11:00
2008-08-29 15:50:02 +10:00
2008-12-25 11:02:27 +11:00
2008-12-25 11:01:26 +11:00
2008-12-25 11:02:16 +11:00
2008-12-25 11:02:18 +11:00
2008-12-25 11:02:09 +11:00
2008-12-25 11:02:10 +11:00
2008-12-25 11:02:12 +11:00
2008-12-25 11:02:13 +11:00
2008-12-25 11:02:15 +11:00
2008-12-25 11:02:06 +11:00
2008-12-25 11:02:21 +11:00
2008-12-25 11:02:22 +11:00