ALSA: cs5535: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Dec 2019 09:49:04 +0000 (10:49 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:08 +0000 (07:25 +0100)
commitc6071300ac85b0db5cce715fa5bc3727251fb65a
tree6ce842d0ab41831963ff878af712fc4dab6adb10
parent44e78a1a85ad5b893dda6cbf866e9e14acf71e0d
ALSA: cs5535: 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-33-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/cs5535audio/cs5535audio_pcm.c