]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: dwc: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Tue, 10 Dec 2019 14:25:54 +0000 (15:25 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 11 Dec 2019 16:43:19 +0000 (16:43 +0000)
commit7254f3e0c65d4c181748e2538bff75fa37b45594
tree936522eddf6e490f5a0e346fdc79474ac0c67f3e
parent661a7dea740139fce39c8dcd0f30f8869a58070c
ASoC: dwc: 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, as well as the superfluous
snd_pcm_lib_preallocate_free_for_all() call.  As of the result,
hw_free and pcm_destruct ops became empty and got removed.

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