ALSA: core: Add continuous and vmalloc mmap ops
authorTakashi Iwai <tiwai@suse.de>
Wed, 9 Jun 2021 16:25:51 +0000 (18:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 10 Jun 2021 08:15:21 +0000 (10:15 +0200)
commit30b7ba6972d59cdf3ffce161ab9005a5f7562f9f
treeafd4532fa65453e22d32e598e3aa528934f87786
parenta202bd1ad86d59c07f24f0a201c5ade320b51e30
ALSA: core: Add continuous and vmalloc mmap ops

The mmap of continuous pages and vmalloc'ed pages are relatively
easily done in a shot with the existing helper functions.
Implement the mmap ops for those types, so that the mmap works without
relying on the page fault handling.

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