From 39c65faa9832ae55b4b18eb27f75cfc7b39925d7 Mon Sep 17 00:00:00 2001 From: Guennadi Liakhovetski Date: Mon, 19 Jan 2009 15:36:21 -0700 Subject: [PATCH] --- yaml --- r: 130067 b: refs/heads/master c: ef560682a97491f62ef538931a4861b57d66c52c h: refs/heads/master i: 130065: 23661f00dbe88d1a586cc18ece9f87fa4bd496f5 130063: 6bd50a15e8ae5e88418cd6d1190c65525c6417ff v: v3 --- [refs] | 2 +- trunk/include/linux/dmaengine.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 2c6cf452a4b9..5a88d1e49784 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c50331e8be32eaba5e1949f98c70d50b891262db +refs/heads/master: ef560682a97491f62ef538931a4861b57d66c52c diff --git a/trunk/include/linux/dmaengine.h b/trunk/include/linux/dmaengine.h index c4a560e72ab7..34f124d7fb94 100644 --- a/trunk/include/linux/dmaengine.h +++ b/trunk/include/linux/dmaengine.h @@ -287,6 +287,11 @@ static inline void async_tx_ack(struct dma_async_tx_descriptor *tx) 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) { return (tx->flags & DMA_CTRL_ACK) == DMA_CTRL_ACK;