]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: vx: Convert to the common vmalloc memalloc
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2019 15:18:47 +0000 (16:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Nov 2019 14:47:42 +0000 (15:47 +0100)
commit1de211b5cf647d624b88c91d9f58ecf9bcf07df8
tree06d018687bbe28e83dd523ef6f1912e25697f7b1
parentd416d34983f023d6c0da5d2ccf254c747153c34b
ALSA: vx: 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

Since the driver requires the DMA32 allocation, it passes the
specially encoded device to snd_pcm_lib_preallocate_pages().

Link: https://lore.kernel.org/r/20191105151856.10785-16-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/drivers/vx/vx_pcm.c