]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: xtensa: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 14:26:07 +0000 (15:26 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Dec 2019 16:43:26 +0000 (16:43 +0000)
commit5013d188b760c5d879f8a941e55e6f97ef59efeb
tree4a391a8393a0afcb2383fba45aff3dc4ec3e4c7a
parent4aa712cf955c1cd5068e685ca73215a2a5dc0f1b
ASoC: xtensa: Use managed buffer allocation

Clean up the driver with the new managed buffer allocation API.
The superfluous snd_pcm_lib_malloc_pages() and
snd_pcm_lib_free_pages() calls are dropped.

Cc: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210142614.19405-17-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/xtensa/xtfpga-i2s.c