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-- 4.6 KB
Makefile -rw-r--r-- 1.1 KB
clock.c -rw-r--r-- 3.7 KB
dma.c -rw-r--r-- 5.5 KB
dsc.c -rw-r--r-- 1.2 KB
irq.c -rw-r--r-- 2.9 KB
mach-anubis.c -rw-r--r-- 11.1 KB
mach-at2440evb.c -rw-r--r-- 5.5 KB
mach-gta02.c -rw-r--r-- 14.9 KB
mach-mini2440.c -rw-r--r-- 17.1 KB
mach-nexcoder.c -rw-r--r-- 3.9 KB
mach-osiris-dvs.c -rw-r--r-- 4.2 KB
mach-osiris.c -rw-r--r-- 10.7 KB
mach-rx3715.c -rw-r--r-- 4.8 KB
mach-smdk2440.c -rw-r--r-- 4.2 KB
s3c2440-cpufreq.c -rw-r--r-- 7.0 KB
s3c2440-pll-12000000.c -rw-r--r-- 3.8 KB
s3c2440-pll-16934400.c -rw-r--r-- 6.1 KB
s3c2440.c -rw-r--r-- 1.2 KB
s3c2442.c -rw-r--r-- 3.9 KB
s3c244x-clock.c -rw-r--r-- 3.3 KB
s3c244x-irq.c -rw-r--r-- 3.3 KB
s3c244x.c -rw-r--r-- 4.6 KB

back to top