]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitba447289fd06c8678eaf51ccffb1b0c9a6a56c9a
tree1382bdf2fbb526e892d9214f48a16a43a10f3629
parent8c505b773d3fda7129d5171626860e4caa33a8ef
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