]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: fsl_asrc_dma: allocate memory from dma device
authorShengjiu Wang <shengjiu.wang@nxp.com>
Fri, 6 Feb 2026 01:48:05 +0000 (09:48 +0800)
committerMark Brown <broonie@kernel.org>
Fri, 6 Feb 2026 17:22:37 +0000 (17:22 +0000)
commitb010c782341b79edbeb80706360b772db908daa6
treef809816d4d6b5944511b12837e3f5f32ce84d08b
parent6a8c6f5587337eceb387812b6f47bc16c125b883
ASoC: fsl_asrc_dma: allocate memory from dma device

The dma-coherent property is used to indicate a device is capable of
coherent DMA operations. On i.MX952, one of EDMA devices support such
feature, in order to support the EDMA device, the memory needs to be
allocated from the DMA device.

Make this driver to support both non dma-coherent and dma-coherent dma
engine.

Remove dma coerce_mask_and coherent() because DMA provider already set it
according to its capability.

Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260206014805.3897764-5-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/fsl/fsl_asrc_dma.c