]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: msnd: Use proper mmap method
authorTakashi Iwai <tiwai@suse.de>
Mon, 9 Aug 2021 14:05:32 +0000 (16:05 +0200)
committerTakashi Iwai <tiwai@suse.de>
Mon, 9 Aug 2021 14:06:17 +0000 (16:06 +0200)
commit99822321cd8a13b8c3a41812b40965bb385f4c7f
treefa32ffcfc72d7cc685135338855a2e7c8a985826
parentc17804d8f1c7ec29b860305dcaaa90ae23371646
ALSA: msnd: Use proper mmap method

The old ISA MSND driver basically maps the iomem as the DMA buffer.
For this type of buffer, we have already the standard mmap helper,
snd_pcm_lib_mmap_iomem().  Correct the PCM info, set the DMA address
and use the standard helper for handling the mmap on all architectures
properly.

Link: https://lore.kernel.org/r/20210809140532.11006-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/isa/msnd/msnd.c