linux/sound/soc/bcm
Lars-Peter Clausen 5ac813c834
ASoC: bcm: cygnus: 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>
Link: https://lore.kernel.org/r/20210106133650.13509-2-lars@metafoo.de
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-01-13 11:36:16 +00:00
..
bcm63xx-i2s-whistler.c ASoC: brcm: Add DSL/PON SoC audio driver 2020-03-13 16:01:35 +00:00
bcm63xx-i2s.h ASoC: brcm: Add DSL/PON SoC audio driver 2020-03-13 16:01:35 +00:00
bcm63xx-pcm-whistler.c ASoC: bcm: use asoc_substream_to_rtd() 2020-07-23 19:07:37 +01:00
bcm2835-i2s.c ASoC: bcm2835-i2s: remove unneeded semicolon 2020-11-02 15:53:22 +00:00
cygnus-pcm.c ASoC: bcm: cygnus: Use managed DMA buffer allocation 2021-01-13 11:36:16 +00:00
cygnus-ssp.c ASoC: bcm: use snd_soc_xxx_active() 2020-05-18 16:15:05 +01:00
cygnus-ssp.h ASoC: cygnus: Add Cygnus audio DAI driver 2016-05-31 17:50:42 +01:00
Kconfig ASoC: brcm: Add DSL/PON SoC audio driver 2020-03-13 16:01:35 +00:00
Makefile ASoC: brcm: Add DSL/PON SoC audio driver 2020-03-13 16:01:35 +00:00