ASoC: rt5514-spi: Convert to the common vmalloc memalloc
authorTakashi Iwai <tiwai@suse.de>
Fri, 8 Nov 2019 09:46:35 +0000 (10:46 +0100)
committerTakashi Iwai <tiwai@suse.de>
Sat, 9 Nov 2019 17:02:52 +0000 (18:02 +0100)
commit26105a6f05709ad7059c91e28005a5c75be24819
tree1f111524882108b4a5691feee1e15627c512ddff
parent1a4860325cc740b4ec4b849f31fa694cf8870569
ASoC: rt5514-spi: 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 it requires the specific buffer type (SNDRV_DMA_TYPE_VMALLOC),
it's set in the pcm_new ops now.

Acked-by: Mark Brown <broonie@kernel.org>
Link: https://lore.kernel.org/r/20191108094641.20086-3-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/soc/codecs/rt5514-spi.c