linux/sound/soc/atmel
Lars-Peter Clausen 22eee4d3ef
ASoC: atmel-pdc: Use managed DMA buffer allocation
Instead of manually managing its DMA buffers using
dma_{alloc,free}_coherent() lets the sound core take care of this using
managed buffers.

On one hand this reduces the amount of boiler plate code, but the main
motivation for the change is to use the shared code where possible. This
makes it easier to argue about correctness and that the code does not
contain subtle bugs like data leakage or similar.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Link: https://lore.kernel.org/r/20210106133650.13509-1-lars@metafoo.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-01-13 11:36:15 +00:00
..
atmel_ssc_dai.c ASoC: atmel: fix kernel-doc 2020-07-09 21:56:39 +01:00
atmel_ssc_dai.h ASoC: atmel_ssc_dai: Remove wrong spinlock usage 2019-09-18 11:12:24 +01:00
atmel_wm8904.c ASoC: atmel: use asoc_substream_to_rtd() 2020-07-23 19:07:33 +01:00
atmel-classd.c ASoC: atmel: use asoc_substream_to_rtd() 2020-07-23 19:07:33 +01:00
atmel-classd.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
atmel-i2s.c ASoC: atmel-i2s: do not warn if muxclk is missing 2020-11-03 13:19:02 +00:00
atmel-pcm-dma.c ASoC: atmel-pcm: remove unnecessary include 2020-09-30 16:12:13 +01:00
atmel-pcm-pdc.c ASoC: atmel-pdc: Use managed DMA buffer allocation 2021-01-13 11:36:15 +00:00
atmel-pcm.h ASoC: atmel: atmel-pcm-dma.c: use devm_snd_dmaengine_pcm_register() 2019-06-28 15:08:38 +01:00
atmel-pdmic.c ASoC: atmel: use asoc_substream_to_rtd() 2020-07-23 19:07:33 +01:00
atmel-pdmic.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
Kconfig ASoC: atmel: fix spelling mistake in Kconfig "programable" -> "programmable" 2020-12-16 13:53:53 +00:00
Makefile ASoC: mchp-spdifrx: add driver for SPDIF RX 2020-10-02 20:45:35 +01:00
mchp-i2s-mcc.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
mchp-spdifrx.c ASoC: mchp-spdifrx: fix spelling mistake "overrrun" -> "overrun" 2020-10-07 13:28:00 +01:00
mchp-spdiftx.c ASoC: mchp-spdiftx: Do not set Validity bit(s) 2020-11-04 17:50:22 +00:00
mikroe-proto.c ASoC: atmel: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:31 +00:00
sam9g20_wm8731.c ASoC: atmel: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:31 +00:00
sam9x5_wm8731.c ASoC: atmel: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-03-27 14:44:31 +00:00
tse850-pcm5142.c ASoC: atmel: tse850-pcm5142: consider CPU-Platform possibility 2019-06-28 15:10:51 +01:00