ALSA: pdaudiocf: Convert to the common vmalloc memalloc
authorTakashi Iwai <tiwai@suse.de>
Tue, 5 Nov 2019 15:18:48 +0000 (16:18 +0100)
committerTakashi Iwai <tiwai@suse.de>
Wed, 6 Nov 2019 14:47:42 +0000 (15:47 +0100)
commitd5dec270c00c155db64c3d2151b94002dfb2c6c7
treefabc93fd99e0a7cf94d89b6ac2f80cd3552d97e4
parent748a76b215a36e9bb88a5bd8b56c5088371b2f19
ALSA: pdaudiocf: 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.
(*) 1fe7f397cfe2: ALSA: memalloc: Add vmalloc buffer allocation
                  support
    7e8edae39fd1: 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-17-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c