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.3 KB
Makefile -rw-r--r-- 1.3 KB
Makefile.boot -rw-r--r-- 56 bytes
clock.c -rw-r--r-- 17.7 KB
cpu.c -rw-r--r-- 4.0 KB
cpufreq.c -rw-r--r-- 6.3 KB
dev-adc.c -rw-r--r-- 1006 bytes
dev-audio.c -rw-r--r-- 8.2 KB
dev-rtc.c -rw-r--r-- 989 bytes
dev-spi.c -rw-r--r-- 4.4 KB
dev-uart.c -rw-r--r-- 2.9 KB
dma.c -rw-r--r-- 16.3 KB
gpiolib.c -rw-r--r-- 6.3 KB
irq-eint.c -rw-r--r-- 4.6 KB
irq-pm.c -rw-r--r-- 3.0 KB
irq.c -rw-r--r-- 1.7 KB
mach-anw6410.c -rw-r--r-- 5.9 KB
mach-hmt.c -rw-r--r-- 6.2 KB
mach-ncp.c -rw-r--r-- 2.4 KB
mach-smdk6400.c -rw-r--r-- 2.4 KB
mach-smdk6410.c -rw-r--r-- 15.3 KB
pm.c -rw-r--r-- 4.0 KB
s3c6400.c -rw-r--r-- 1.9 KB
s3c6410.c -rw-r--r-- 2.1 KB
setup-fb-24bpp.c -rw-r--r-- 997 bytes
setup-i2c0.c -rw-r--r-- 910 bytes
setup-i2c1.c -rw-r--r-- 910 bytes
setup-sdhci-gpio.c -rw-r--r-- 2.1 KB
setup-sdhci.c -rw-r--r-- 2.0 KB
sleep.S -rw-r--r-- 4.2 KB

back to top