aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dmaengine.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>2012-11-08 05:01:01 -0500
committerVinod Koul <vinod.koul@intel.com>2013-01-08 01:05:10 -0500
commite239345f642e6a255d0ba1e3d92c2f9ec5a44fbe (patch)
treef2be1aacdf39ef6b9d914913ef5aebcf844a067c /include/linux/dmaengine.h
parentb9ee86830f34737a08deead93872a79a37419a13 (diff)
dmaengine: remove dma_async_memcpy_complete() macro
Just use dma_async_is_tx_complete() directly. Cc: Vinod Koul <vinod.koul@intel.com> Cc: Tomasz Figa <t.figa@samsung.com> Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by: Dan Williams <djbw@fb.com>
Diffstat (limited to 'include/linux/dmaengine.h')
-rw-r--r--include/linux/dmaengine.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index cd15958d4d1d..4ca9cf73ad3f 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -926,16 +926,13 @@ static inline enum dma_status dma_async_is_tx_complete(struct dma_chan *chan,
926 return status; 926 return status;
927} 927}
928 928
929#define dma_async_memcpy_complete(chan, cookie, last, used)\
930 dma_async_is_tx_complete(chan, cookie, last, used)
931
932/** 929/**
933 * dma_async_is_complete - test a cookie against chan state 930 * dma_async_is_complete - test a cookie against chan state
934 * @cookie: transaction identifier to test status of 931 * @cookie: transaction identifier to test status of
935 * @last_complete: last know completed transaction 932 * @last_complete: last know completed transaction
936 * @last_used: last cookie value handed out 933 * @last_used: last cookie value handed out
937 * 934 *
938 * dma_async_is_complete() is used in dma_async_memcpy_complete() 935 * dma_async_is_complete() is used in dma_async_is_tx_complete()
939 * the test logic is separated for lightweight testing of multiple cookies 936 * the test logic is separated for lightweight testing of multiple cookies
940 */ 937 */
941static inline enum dma_status dma_async_is_complete(dma_cookie_t cookie, 938static inline enum dma_status dma_async_is_complete(dma_cookie_t cookie,