* [PATCH v3 06/15] rapidio: Use dmaengine_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, mporter
Replace dma_async_is_tx_complete with dmaengine_async_is_tx_complete.
The previous API will be removed in favor of the new one.
Signed-off-by: Ben Walker <benjamin.walker@intel.com>
---
drivers/rapidio/devices/rio_mport_cdev.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/rapidio/devices/rio_mport_cdev.c b/drivers/rapidio/devices/rio_mport_cdev.c
index 2cdc054e53a53..d4108ff2bb74c 100644
--- a/drivers/rapidio/devices/rio_mport_cdev.c
+++ b/drivers/rapidio/devices/rio_mport_cdev.c
@@ -597,8 +597,7 @@ static void dma_xfer_callback(void *param)
struct mport_dma_req *req = (struct mport_dma_req *)param;
struct mport_cdev_priv *priv = req->priv;
- req->status = dma_async_is_tx_complete(priv->dmach, req->cookie,
- NULL, NULL);
+ req->status = dmaengine_async_is_tx_complete(priv->dmach, req->cookie);
complete(&req->req_comp);
kref_put(&req->refcount, dma_req_free);
}
--
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 06/15] rapidio: Use dmaengine_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