mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 01:04:19 +08:00
22eee4d3ef
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> |
||
---|---|---|
.. | ||
atmel_ssc_dai.c | ||
atmel_ssc_dai.h | ||
atmel_wm8904.c | ||
atmel-classd.c | ||
atmel-classd.h | ||
atmel-i2s.c | ||
atmel-pcm-dma.c | ||
atmel-pcm-pdc.c | ||
atmel-pcm.h | ||
atmel-pdmic.c | ||
atmel-pdmic.h | ||
Kconfig | ||
Makefile | ||
mchp-i2s-mcc.c | ||
mchp-spdifrx.c | ||
mchp-spdiftx.c | ||
mikroe-proto.c | ||
sam9g20_wm8731.c | ||
sam9x5_wm8731.c | ||
tse850-pcm5142.c |