]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: aaci: Use managed buffer allocation
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Dec 2019 09:48:34 +0000 (10:48 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 11 Dec 2019 06:24:56 +0000 (07:24 +0100)
commita2e49d9c8017054d6b499ebe2f6c3fd6d7ee6002
tree8e305a7e24467d058ccbdb9e4c9f1594d861acbe
parent3e99630183a1f91e058e59044370a05bb482bc1a
ALSA: aaci: 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, and the if block is
flattened accordingly.

Link: https://lore.kernel.org/r/20191209094943.14984-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/arm/aaci.c