OSDN Git Service

ALSA: asihpi: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Dec 2019 09:48:55 +0000 (10:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:25:04 +0000 (07:25 +0100)
commit7ae11ecf0dfeac445024fe9af6a2c1cdaea21f64
treefa555a2b8e31f3a312155158216c12266b58df8a
parent96bcfde13a1cb8979c0e4fb35f99be2d072c21bd
ALSA: asihpi: 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-24-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/asihpi/asihpi.c