diff options
| -rw-r--r-- | include/linux/dmaengine.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index c4a560e72ab7..34f124d7fb94 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
| @@ -287,6 +287,11 @@ static inline void async_tx_ack(struct dma_async_tx_descriptor *tx) | |||
| 287 | tx->flags |= DMA_CTRL_ACK; | 287 | tx->flags |= DMA_CTRL_ACK; |
| 288 | } | 288 | } |
| 289 | 289 | ||
| 290 | static inline void async_tx_clear_ack(struct dma_async_tx_descriptor *tx) | ||
| 291 | { | ||
| 292 | tx->flags &= ~DMA_CTRL_ACK; | ||
| 293 | } | ||
| 294 | |||
| 290 | static inline bool async_tx_test_ack(struct dma_async_tx_descriptor *tx) | 295 | static inline bool async_tx_test_ack(struct dma_async_tx_descriptor *tx) |
| 291 | { | 296 | { |
| 292 | return (tx->flags & DMA_CTRL_ACK) == DMA_CTRL_ACK; | 297 | return (tx->flags & DMA_CTRL_ACK) == DMA_CTRL_ACK; |
