ALSA: emu10k1x: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Dec 2019 09:49:07 +0000 (10:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:10 +0000 (07:25 +0100)
commit63832bd951d2c1deed3ea2dd5a74604902a1a0d1
tree5d76b3ff7145d3b397aeae631d2da89703612a48
parent11f63ca3995b8099aa9d6d039d729c91a9122112
ALSA: emu10k1x: 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-36-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/emu10k1/emu10k1x.c