Skip to contentSkip to conversation

media: omap3isp: hist: use dmaengine_submit() instead of ->tx_submit()

PATCH Superseded [email protected] 1 participant 1 message Oct 2

Subsystems (2)

v1 of 3 Superseded Latest is v3 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 media: omap3isp: hist: use dmaengine_submit() instead of ->tx_submit()

From: Frank Li <[email protected]>

Replace direct dma_async_tx_descriptor->tx_submit() call with the proper dmaengine_submit() API wrapper.

Assisted-by LLM
---
 drivers/media/platform/ti/omap3isp/isphist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/media/platform/ti/omap3isp/isphist.c +1 -1
index fbfdcbfdb050a..dc02f240ee89a 100644
@@ -211,7 +211,7 @@ static int hist_buf_dma(struct ispstat *hist)
 
 	tx->callback = hist_dma_cb;
 	tx->callback_param = hist;
-	cookie = tx->tx_submit(tx);
+	cookie = dmaengine_submit(tx);
 	if (dma_submit_error(cookie)) {
 		dev_dbg(hist->isp->dev, "hist: DMA submission failed\n");
 		goto error;
Signature · 1 line
2.43.0