]> 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)
commitdda79480e668555250ce79864bfc9fd60d9d9e8a
treee6576a9d3e9c19216729709a55f66e4dec1773e7
parentb9a110e6ae7b87141307912a4883d81a9d8cd2d0
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