https://github.com/torvalds/linux
Revision 9fe17b5d47d3d3c85b35623dea8f571a184134c0 authored by Takashi Iwai on 12 May 2010, 08:32:42 UTC, committed by Takashi Iwai on 12 May 2010, 08:32:42 UTC
MIPS non-coherent archs need the noncached pgprot in mmap of PCM buffers.
But, since the coherency needs to be checked dynamically via
plat_device_is_coherent(), we need an ugly check dependent on MIPS
in ALSA core code.

This should be cleaned up in MIPS arch side (e.g. creating
dma_mmap_coherent()) in near future.

Tested-by: Wu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
1 parent 6a45f78
History
Tip revision: 9fe17b5d47d3d3c85b35623dea8f571a184134c0 authored by Takashi Iwai on 12 May 2010, 08:32:42 UTC
ALSA: pcm - Use pgprot_noncached() for MIPS non-coherent archs
Tip revision: 9fe17b5
File Mode Size
include
Kconfig -rw-r--r-- 2.0 KB
Makefile -rw-r--r-- 753 bytes
Makefile.boot -rw-r--r-- 85 bytes
cats-hw.c -rw-r--r-- 2.0 KB
cats-pci.c -rw-r--r-- 1.3 KB
common.c -rw-r--r-- 5.6 KB
common.h -rw-r--r-- 233 bytes
dc21285-timer.c -rw-r--r-- 1.3 KB
dc21285.c -rw-r--r-- 9.2 KB
dma.c -rw-r--r-- 1.1 KB
ebsa285-leds.c -rw-r--r-- 2.8 KB
ebsa285-pci.c -rw-r--r-- 1.1 KB
ebsa285.c -rw-r--r-- 581 bytes
isa-irq.c -rw-r--r-- 4.2 KB
isa-rtc.c -rw-r--r-- 1.2 KB
isa-timer.c -rw-r--r-- 2.1 KB
isa.c -rw-r--r-- 2.1 KB
netwinder-hw.c -rw-r--r-- 11.8 KB
netwinder-leds.c -rw-r--r-- 2.8 KB
netwinder-pci.c -rw-r--r-- 1.3 KB
personal-pci.c -rw-r--r-- 1.4 KB
personal.c -rw-r--r-- 581 bytes

back to top