* [PATCH v3 08/15] dmaengine: Remove dma_async_is_tx_complete
@ 2022-06-22 18:53 Ben Walker
0 siblings, 0 replies; only message in thread
From: Ben Walker @ 2022-06-22 18:53 UTC (permalink / raw)
To: vkoul; +Cc: dmaengine, linux-kernel
Everything has now been converted over to
dmaengine_async_is_tx_complete, so this can be removed.
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
---
include/linux/dmaengine.h | 27 ---------------------------
1 file changed, 27 deletions(-)
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h
index 44eb1df433e61..c34f21d19c423 100644
--- a/include/linux/dmaengine.h
+++ b/include/linux/dmaengine.h
@@ -1439,33 +1439,6 @@ static inline void dma_async_issue_pending(struct dma_chan *chan)
chan->device->device_issue_pending(chan);
}
-/**
- * dma_async_is_tx_complete - poll for transaction completion
- * @chan: DMA channel
- * @cookie: transaction identifier to check status of
- * @last: returns last completed cookie, can be NULL
- * @used: returns last issued cookie, can be NULL
- *
- * Note: This is deprecated. Use dmaengine_async_is_tx_complete instead.
- *
- * If @last and @used are passed in, upon return they reflect the most
- * recently submitted (used) cookie and the most recently completed
- * cookie.
- */
-static inline enum dma_status dma_async_is_tx_complete(struct dma_chan *chan,
- dma_cookie_t cookie, dma_cookie_t *last, dma_cookie_t *used)
-{
- struct dma_tx_state state;
- enum dma_status status;
-
- status = chan->device->device_tx_status(chan, cookie, &state);
- if (last)
- *last = state.last;
- if (used)
- *used = state.used;
- return status;
-}
-
/**
* dmaengine_async_is_tx_complete - poll for transaction completion
* @chan: DMA channel
--
2.35.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-22 18:54 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-22 18:53 [PATCH v3 08/15] dmaengine: Remove dma_async_is_tx_complete Ben Walker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).