]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: maestro3: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Dec 2019 09:49:18 +0000 (10:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:14 +0000 (07:25 +0100)
commitfa8b0abb0f56a6b568fd4d5cf24cf674a52b5c58
treeee2337b9bc827280de5001b81eef0bbca7b5c775
parentc072033eff9185f4602798779c407844e1050241
ALSA: maestro3: 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-47-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/maestro3.c