Skip to contentSkip to conversation

rapidio: Use dmaengine_async_is_tx_complete

PATCH Superseded Ben Walker 1 participant 1 message Jun 22, 2022

Subsystems (2)

v3 of 6 Superseded Latest is v6 →

lore
Share & tools
lore

Ben Walker

author
#0 lore raw

PATCH v3 6/15 rapidio: Use dmaengine_async_is_tx_complete

Replace dma_async_is_tx_complete with dmaengine_async_is_tx_complete. The previous API will be removed in favor of the new one.

---
 drivers/rapidio/devices/rio_mport_cdev.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/rapidio/devices/rio_mport_cdev.c +1 -2
index 2cdc054e53a53..d4108ff2bb74c 100644
@@ -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);
 }
Signature · 1 line
2.35.1