OpenCloudOS-Kernel/sound/soc/sprd
Baolin Wang 1587a061ef
ASoC: sprd: Add reserved DMA memory support
For Spreadtrum audio platform driver, it need allocate a larger DMA buffer
dynamically to copy audio data between userspace and kernel space, but that
will increase the risk of memory allocation failure especially the system
is under heavy load situation.

To make sure the audio can work in this scenario, we usually reserve one
region of memory to be used as a shared pool of DMA buffers for the
platform component. So add of_reserved_mem_device_init_by_idx() function
to initialize the shared pool of DMA buffers to be used by the platform
component.

Signed-off-by: Baolin Wang <baolin.wang@linaro.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-05-06 22:48:03 +09:00
..
Kconfig ASoC: sprd: Add Spreadtrum multi-channel data transfer support 2019-04-25 19:43:49 +01:00
Makefile ASoC: sprd: Add Spreadtrum multi-channel data transfer support 2019-04-25 19:43:49 +01:00
sprd-mcdt.c ASoC: sprd: Fix to use list_for_each_entry_safe() when delete items 2019-05-02 11:01:53 +09:00
sprd-mcdt.h ASoC: sprd: Add Spreadtrum multi-channel data transfer support 2019-04-25 19:43:49 +01:00
sprd-pcm-compress.c ASoC: sprd: Fix spelling mistake "faied" -> "failed" 2019-04-04 15:11:34 +07:00
sprd-pcm-dma.c ASoC: sprd: Add reserved DMA memory support 2019-05-06 22:48:03 +09:00
sprd-pcm-dma.h ASoC: sprd: Add Spreadtrum audio compress offload support 2019-04-02 12:57:03 +07:00