]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: au1x: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 14:25:53 +0000 (15:25 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Dec 2019 16:43:18 +0000 (16:43 +0000)
commitca355c70806237934c1e2465ef23dbbc47bfb234
treea9eab86f377ff3fbc62ae9993539fbd6091c5c5a
parenteec994ba74360beb983b3b41555d8f538a8cb9a4
ASoC: au1x: Use managed buffer allocation

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

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191210142614.19405-3-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/au1x/dbdma2.c
sound/soc/au1x/dma.c