OSDN Git Service

ASoC: qcom: lpass: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 2 Aug 2021 07:28:13 +0000 (09:28 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Aug 2021 06:09:23 +0000 (08:09 +0200)
commit15a52cdcb0ef4d01c7da97c6db5c20d193ea93f1
tree71996568391839769113e7ca1d20cb1b19ccf47d
parent3610a6d1dbd19b344bdf5b6647b2750efe55fe2e
ASoC: qcom: lpass: Use managed buffer allocation

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

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Cc: Banajit Goswami <bgoswami@codeaurora.org>
Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20210802072815.13551-14-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/qcom/lpass-platform.c