]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sprd: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Aug 2021 07:28:15 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Aug 2021 06:10:27 +0000 (08:10 +0200)
commite94e77226c98ae4d31eced5e386aa15d20793f31
tree1382bdf2fbb526e892d9214f48a16a43a10f3629
parent2a32b8a9a8b34af4e7128c4c72c044f22e2ce069
ASoC: sprd: Use managed buffer allocation

This patch simplifies the buffer pre-allocation code of sprd driver
with the standard managed buffer helper.  It uses the newly
introduced fixed-size buffer allocation helper.

Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210802072815.13551-16-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/sprd/sprd-pcm-dma.c