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
Kconfig -rw-r--r-- 454 bytes
Makefile -rw-r--r-- 623 bytes
clkdev.c -rw-r--r-- 3.6 KB
dmabounce.c -rw-r--r-- 14.3 KB
gic.c -rw-r--r-- 6.7 KB
icst307.c -rw-r--r-- 3.4 KB
icst525.c -rw-r--r-- 3.3 KB
it8152.c -rw-r--r-- 8.9 KB
locomo.c -rw-r--r-- 23.5 KB
sa1111.c -rw-r--r-- 34.1 KB
scoop.c -rw-r--r-- 6.8 KB
sharpsl_param.c -rw-r--r-- 1.8 KB
time-acorn.c -rw-r--r-- 2.0 KB
uengine.c -rw-r--r-- 11.9 KB
via82c505.c -rw-r--r-- 1.8 KB
vic.c -rw-r--r-- 10.1 KB

back to top