]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Dec 2019 09:49:42 +0000 (10:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:24 +0000 (07:25 +0100)
commita722601ec9df8ddb06523b3f68f9378f41a60067
treefe02c30d6ca5f16ef265f3d0e0fa4f82671b2527
parent0f46d7e590d26eafe323ac6e54eb084f8a512323
ALSA: usb-audio: 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-71-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/pcm.c