DMA Engine development
 help / color / mirror / Atom feed
* [PATCH 0/2] dmaengine: add dmaengine_prep_slave_sg_context() API
@ 2026-09-17 20:08 Frank.Li
  2026-09-17 20:08 ` [PATCH 1/2] dmaengine: add dmaengine_prep_slave_sg_context() to wrap prep_slave_sg Frank.Li
  2026-09-17 20:08 ` [PATCH 2/2] ASoC: sprd: replace direct ->device_prep*() calls with standard DMA engine API Frank.Li
  0 siblings, 2 replies; 4+ messages in thread
From: Frank.Li @ 2026-09-17 20:08 UTC (permalink / raw)
  To: Vinod Koul, Frank Li, Liam Girdwood, Mark Brown, Jaroslav Kysela,
	Takashi Iwai, Orson Zhai, Baolin Wang, Chunyan Zhang
  Cc: dmaengine, linux-kernel, linux-sound, imx, Frank Li

Add dmaengine_prep_slave_sg_context() for consumers that need to pass
context value when preparing slave SG transfers.

This replaces direct use of the prep_slave_sg() callback context,
which is intended for DMA engine internal use only. Mark it as deprecated
in preparation for making DMA engine internals private.

The only current user is sound/soc/sprd/sprd-pcm-compress.c.

Signed-off-by: Frank Li <Frank.Li@nxp.com>
---
Frank Li (2):
      dmaengine: add dmaengine_prep_slave_sg_context() to wrap prep_slave_sg
      ASoC: sprd: replace direct ->device_prep*() calls with standard DMA engine API

 include/linux/dmaengine.h          | 13 +++++++++++++
 sound/soc/sprd/sprd-pcm-compress.c |  6 +++---
 sound/soc/sprd/sprd-pcm-dma.c      |  6 +++---
 3 files changed, 19 insertions(+), 6 deletions(-)
---
base-commit: 0d9d0dbf2fddcff5859d623e90ca73c4054276e1
change-id: 20260917-b4-dmaengine-prep-slave-sg-55e8653077aa

Best regards,
--  
Frank Li <Frank.Li@nxp.com>


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

end of thread, other threads:[~2026-09-17 20:15 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-17 20:08 [PATCH 0/2] dmaengine: add dmaengine_prep_slave_sg_context() API Frank.Li
2026-09-17 20:08 ` [PATCH 1/2] dmaengine: add dmaengine_prep_slave_sg_context() to wrap prep_slave_sg Frank.Li
2026-09-17 20:15   ` sashiko-bot
2026-09-17 20:08 ` [PATCH 2/2] ASoC: sprd: replace direct ->device_prep*() calls with standard DMA engine API Frank.Li

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