]> 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)
commit5094c421b3a47decaf85a68695abb55a8a4b4ea6
tree4a391a8393a0afcb2383fba45aff3dc4ec3e4c7a
parentefce08ef4756464d7f916a4fea3cbfffdc3be4d8
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