]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit461426002b4c887f4a43784aaf2be5c4f65924dc
tree5d76b3ff7145d3b397aeae631d2da89703612a48
parentbb9afde7b87b36dd3467080935f040db4fadfba3
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