diff options
Diffstat (limited to 'include/linux/dmaengine.h')
| -rw-r--r-- | include/linux/dmaengine.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index 56377df39124..cc0756a35ae3 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
| @@ -670,6 +670,12 @@ static inline int dmaengine_resume(struct dma_chan *chan) | |||
| 670 | return dmaengine_device_control(chan, DMA_RESUME, 0); | 670 | return dmaengine_device_control(chan, DMA_RESUME, 0); |
| 671 | } | 671 | } |
| 672 | 672 | ||
| 673 | static inline enum dma_status dmaengine_tx_status(struct dma_chan *chan, | ||
| 674 | dma_cookie_t cookie, struct dma_tx_state *state) | ||
| 675 | { | ||
| 676 | return chan->device->device_tx_status(chan, cookie, state); | ||
| 677 | } | ||
| 678 | |||
| 673 | static inline dma_cookie_t dmaengine_submit(struct dma_async_tx_descriptor *desc) | 679 | static inline dma_cookie_t dmaengine_submit(struct dma_async_tx_descriptor *desc) |
| 674 | { | 680 | { |
| 675 | return desc->tx_submit(desc); | 681 | return desc->tx_submit(desc); |
