async_tx: allow architecture specific async_tx_find_channel implementations
[linux-2.6-block.git] / crypto / async_tx / async_memcpy.c
index 25dcf33bbc2d343c1777484d0e2b740c47eb090e..0f6282207b3223baf9910332681fd5b3eb98295c 100644 (file)
@@ -46,7 +46,8 @@ async_memcpy(struct page *dest, struct page *src, unsigned int dest_offset,
        struct dma_async_tx_descriptor *depend_tx,
        dma_async_tx_callback cb_fn, void *cb_param)
 {
-       struct dma_chan *chan = async_tx_find_channel(depend_tx, DMA_MEMCPY);
+       struct dma_chan *chan = async_tx_find_channel(depend_tx, DMA_MEMCPY,
+                                                     &dest, 1, &src, 1, len);
        struct dma_device *device = chan ? chan->device : NULL;
        struct dma_async_tx_descriptor *tx = NULL;