ALSA: trident: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Dec 2019 09:49:26 +0000 (10:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:17 +0000 (07:25 +0100)
commitc79eafa095b192e251ece9e8016c8012e47fe303
tree3e551677222891ae0c09ec309922bd59631c9a33
parent3e1ee04ba9ea9129c8d5bb8809866ea38e7794c2
ALSA: trident: 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.

Link: https://lore.kernel.org/r/20191209094943.14984-55-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/trident/trident_main.c