|
@@ -287,6 +287,11 @@ static inline void async_tx_ack(struct dma_async_tx_descriptor *tx)
|
|
tx->flags |= DMA_CTRL_ACK;
|
|
tx->flags |= DMA_CTRL_ACK;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+static inline void async_tx_clear_ack(struct dma_async_tx_descriptor *tx)
|
|
|
|
+{
|
|
|
|
+ tx->flags &= ~DMA_CTRL_ACK;
|
|
|
|
+}
|
|
|
|
+
|
|
static inline bool async_tx_test_ack(struct dma_async_tx_descriptor *tx)
|
|
static inline bool async_tx_test_ack(struct dma_async_tx_descriptor *tx)
|
|
{
|
|
{
|
|
return (tx->flags & DMA_CTRL_ACK) == DMA_CTRL_ACK;
|
|
return (tx->flags & DMA_CTRL_ACK) == DMA_CTRL_ACK;
|