]> 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)
commitc93d0eea4e9d1a59922de324ae663926cc9ef168
treefa32ffcfc72d7cc685135338855a2e7c8a985826
parentffa939c7af452d7a068837770342c2feaa942129
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