]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usx2y: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Dec 2019 09:49:41 +0000 (10:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:24 +0000 (07:25 +0100)
commit0f46d7e590d26eafe323ac6e54eb084f8a512323
tree691ce913f7f891bafcdf291fb6746d57ec329aff
parenta395effed76d7449fa1ab3d3e9d5246b60e2c63f
ALSA: usx2y: 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-70-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/usx2y/usbusx2yaudio.c
sound/usb/usx2y/usx2yhwdeppcm.c