]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7fff65ea8454f8960abd943796caac6b1700e366
treefabc93fd99e0a7cf94d89b6ac2f80cd3552d97e4
parent1de211b5cf647d624b88c91d9f58ecf9bcf07df8
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.
(*) 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-17-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pcmcia/pdaudiocf/pdaudiocf_pcm.c