diff options
author | Vinod Koul <vinod.koul@intel.com> | 2013-10-30 15:42:19 +0530 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2013-10-30 15:42:19 +0530 |
commit | f0dad6e701cb66301287074c39183c7312139530 (patch) | |
tree | b4a38d8dcc49206fcedae7192e898df1011a6810 /include | |
parent | b967aecf1714c10d1e6c045e43b6385884f1ca77 (diff) | |
parent | 7db5f7274a0b065abdc358be2a44b4a911d75707 (diff) | |
download | linux-stable-f0dad6e701cb66301287074c39183c7312139530.tar.gz linux-stable-f0dad6e701cb66301287074c39183c7312139530.tar.bz2 linux-stable-f0dad6e701cb66301287074c39183c7312139530.zip |
Merge branch 'dma_complete' into next
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/dmaengine.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 0bc727534108..4b460a683968 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h @@ -45,13 +45,13 @@ static inline int dma_submit_error(dma_cookie_t cookie) /** * enum dma_status - DMA transaction status - * @DMA_SUCCESS: transaction completed successfully + * @DMA_COMPLETE: transaction completed * @DMA_IN_PROGRESS: transaction not yet processed * @DMA_PAUSED: transaction is paused * @DMA_ERROR: transaction failed */ enum dma_status { - DMA_SUCCESS, + DMA_COMPLETE, DMA_IN_PROGRESS, DMA_PAUSED, DMA_ERROR, @@ -979,10 +979,10 @@ static inline enum dma_status dma_async_is_complete(dma_cookie_t cookie, { if (last_complete <= last_used) { if ((cookie <= last_complete) || (cookie > last_used)) - return DMA_SUCCESS; + return DMA_COMPLETE; } else { if ((cookie <= last_complete) && (cookie > last_used)) - return DMA_SUCCESS; + return DMA_COMPLETE; } return DMA_IN_PROGRESS; } @@ -1013,11 +1013,11 @@ static inline struct dma_chan *dma_find_channel(enum dma_transaction_type tx_typ } static inline enum dma_status dma_sync_wait(struct dma_chan *chan, dma_cookie_t cookie) { - return DMA_SUCCESS; + return DMA_COMPLETE; } static inline enum dma_status dma_wait_for_async_tx(struct dma_async_tx_descriptor *tx) { - return DMA_SUCCESS; + return DMA_COMPLETE; } static inline void dma_issue_pending_all(void) { |