diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2021-01-06 14:36:49 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-01-13 11:36:16 +0000 |
commit | 5ac813c83483e97a13b59aab34b89cebf9d5dcb8 (patch) | |
tree | 424f3658a5b51dcac08d1305d86f4c22fc31a1f0 /sound/soc/kirkwood | |
parent | 22eee4d3efe370fedf71ee6a9e4dead3f32ad461 (diff) |
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>
Diffstat (limited to 'sound/soc/kirkwood')
0 files changed, 0 insertions, 0 deletions