ALSA: core: Move mmap handler into memalloc ops
authorTakashi Iwai <tiwai@suse.de>
Wed, 9 Jun 2021 16:25:50 +0000 (18:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Jun 2021 08:15:21 +0000 (10:15 +0200)
commita202bd1ad86d59c07f24f0a201c5ade320b51e30
tree54a7ef6463fbc5e02033fd9c97d77b6a8c4df195
parent37af81c5998f4b0f23fb452cffa4b8a1c00ce95b
ALSA: core: Move mmap handler into memalloc ops

This patch moves the mmap handling code into the common memalloc
handler.  It allows us to reduce the memory-type specific code in PCM
code gracefully.

Link: https://lore.kernel.org/r/20210609162551.7842-5-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
include/sound/memalloc.h
sound/core/memalloc.c
sound/core/memalloc_local.h
sound/core/pcm_native.c