diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-08-09 16:05:32 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-08-09 16:06:17 +0200 |
commit | ca4c5b334f1036d567b6a7d1f695430d7e4fd8a3 (patch) | |
tree | fa32ffcfc72d7cc685135338855a2e7c8a985826 /sound/pci/hda/patch_cirrus.c | |
parent | ALSA: pci: cs46xx: Fix set up buffer type properly (diff) | |
download | linux-ca4c5b334f1036d567b6a7d1f695430d7e4fd8a3.tar.xz linux-ca4c5b334f1036d567b6a7d1f695430d7e4fd8a3.zip |
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>
Diffstat (limited to 'sound/pci/hda/patch_cirrus.c')
0 files changed, 0 insertions, 0 deletions