ALSA: pcsp: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Dec 2019 09:48:39 +0000 (10:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:24:58 +0000 (07:24 +0100)
commitd635f09e919e6ea9214a7676e26ef6755b3453a0
tree2238be777d0d9dd385f36f69b335feffb0769f1f
parentcbd0719d5115a70bd1a1a8958eef504ddb867368
ALSA: pcsp: 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() are dropped.

Link: https://lore.kernel.org/r/20191209094943.14984-8-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/pcsp/pcsp_lib.c