]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: usb-audio: Convert to the common vmalloc memalloc
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2019 15:18:40 +0000 (16:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Nov 2019 14:47:41 +0000 (15:47 +0100)
commit8abf3302509bb418bfac3927c588cbb006350a12
tree2cc9ae7b8f48797eb584c3e87f7d1944d2c3d365
parent9d212096da64dc7c4e279dd658b17f913e201b5f
ALSA: usb-audio: Convert to the common vmalloc memalloc

The recent change (*) in the ALSA memalloc core allows us to drop the
special vmalloc-specific allocation and page handling.  This patch
coverts to the common code.
(*) bfe7dba4fc6d: ALSA: memalloc: Add vmalloc buffer allocation
                  support
    e786911205bb: ALSA: pcm: Handle special page mapping in the
                  default mmap handler

Also, since the SG-buffer-specific PCM ops becomes identical with the
normal PCM ops, unify them again to the single ops, too.

Link: https://lore.kernel.org/r/20191105151856.10785-9-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/usb/pcm.c