ASoC: fsl_asrc_dma: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Aug 2021 07:28:10 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Aug 2021 06:09:02 +0000 (08:09 +0200)
commit1855ce6293c01935a3242a90d08ab221c095d82c
treee85d3abf137517595d4a44ff90e527b882402f65
parent189364872fba07291db7f68fe0161f97e5b61bb1
ASoC: fsl_asrc_dma: Use managed buffer allocation

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

Cc: Nicolin Chen <nicoleotsuka@gmail.com>
Cc: Xiubo Li <Xiubo.Lee@gmail.com>
Cc: Fabio Estevam <festevam@gmail.com>
Cc: Shengjiu Wang <shengjiu.wang@gmail.com>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210802072815.13551-11-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/fsl/fsl_asrc_dma.c