ASoC: SOF: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 17:20:19 +0000 (18:20 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 12 Dec 2019 15:41:22 +0000 (15:41 +0000)
commit57e960f0020ec46db277426762ba5ffe77e03e3c
tree8d9e734414d0364056790fdada2d968963e1a8b8
parentbf523463d8c38cd92424ed011b90769c29ef99ce
ASoC: SOF: 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.

Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Link: https://lore.kernel.org/r/20191211172019.23206-2-tiwai@suse.de
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/pcm.c