]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: compress: make use of runtime buffer for copy
authorSrinivas Kandagatla <srinivas.kandagatla@linaro.org>
Thu, 15 Nov 2018 18:13:21 +0000 (18:13 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 14 Dec 2018 12:43:45 +0000 (12:43 +0000)
commit452ffb2150e4c0061ac7492ec84e806ef7adfcc5
treee6576a9d3e9c19216729709a55f66e4dec1773e7
parente033d1c12dd4d639ffe7775f5c76472c4b90e59a
ALSA: compress: make use of runtime buffer for copy

Default copy function uses kmalloc to allocate buffers, lets check
if the runtime buffers are setup before making this allocations.
This can be useful if the buffers are dma buffers.

Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Acked-by: Vinod Koul <vkoul@kernel.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/core/compress_offload.c