mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 1/3] media: omap3isp: hist: use dmaengine_submit() instead of ->tx_submit()
@ 2026-11-02 19:46 Frank.Li
  2026-11-02 19:46 ` [PATCH v2 2/3] media: use dmaengine_desc_set_callback() Frank.Li
  2026-11-02 19:46 ` [PATCH v2 3/3] media: pxa_camera: use cookie returned by dmaengine_submit() for logging Frank.Li
  0 siblings, 2 replies; 4+ messages in thread
From: Frank.Li @ 2026-11-02 19:46 UTC (permalink / raw)
  To: Mauro Carvalho Chehab, Frank Li,
	open list:MEDIA INPUT INFRASTRUCTURE (V4L/DVB),
	open list
  Cc: imx, vkoul

From: Frank Li <Frank.Li@nxp.com>

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

Assisted-by: LLM
Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
change in v2
- rebase to v7.4-rc1
- add more fix at following patches
---
 drivers/media/platform/ti/omap3isp/isphist.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/platform/ti/omap3isp/isphist.c b/drivers/media/platform/ti/omap3isp/isphist.c
index fbfdcbfdb050a..dc02f240ee89a 100644
--- a/drivers/media/platform/ti/omap3isp/isphist.c
+++ b/drivers/media/platform/ti/omap3isp/isphist.c
@@ -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;
-- 
2.43.0


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-11-02 20:24 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-11-02 19:46 [PATCH v2 1/3] media: omap3isp: hist: use dmaengine_submit() instead of ->tx_submit() Frank.Li
2026-11-02 19:46 ` [PATCH v2 2/3] media: use dmaengine_desc_set_callback() Frank.Li
2026-11-02 20:24   ` Nicolas Dufresne
2026-11-02 19:46 ` [PATCH v2 3/3] media: pxa_camera: use cookie returned by dmaengine_submit() for logging Frank.Li

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®