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-- 3.6 KB
Makefile -rw-r--r-- 1.2 KB
Makefile.boot -rw-r--r-- 84 bytes
addr-map.c -rw-r--r-- 5.6 KB
common.c -rw-r--r-- 17.9 KB
common.h -rw-r--r-- 1.9 KB
d2net-setup.c -rw-r--r-- 9.5 KB
db88f5281-setup.c -rw-r--r-- 9.6 KB
dns323-setup.c -rw-r--r-- 12.0 KB
edmini_v2-setup.c -rw-r--r-- 7.3 KB
irq.c -rw-r--r-- 1.6 KB
kurobox_pro-setup.c -rw-r--r-- 10.6 KB
ls_hgl-setup.c -rw-r--r-- 7.2 KB
lsmini-setup.c -rw-r--r-- 7.3 KB
mpp.c -rw-r--r-- 3.1 KB
mpp.h -rw-r--r-- 1.4 KB
mss2-setup.c -rw-r--r-- 7.1 KB
mv2120-setup.c -rw-r--r-- 6.0 KB
net2big-setup.c -rw-r--r-- 11.5 KB
pci.c -rw-r--r-- 14.7 KB
rd88f5181l-fxo-setup.c -rw-r--r-- 5.0 KB
rd88f5181l-ge-setup.c -rw-r--r-- 5.1 KB
rd88f5182-setup.c -rw-r--r-- 7.7 KB
rd88f6183ap-ge-setup.c -rw-r--r-- 3.3 KB
terastation_pro2-setup.c -rw-r--r-- 9.5 KB
ts209-setup.c -rw-r--r-- 8.7 KB
ts409-setup.c -rw-r--r-- 8.3 KB
ts78xx-fpga.h -rw-r--r-- 774 bytes
ts78xx-setup.c -rw-r--r-- 13.9 KB
tsx09-common.c -rw-r--r-- 3.2 KB
tsx09-common.h -rw-r--r-- 439 bytes
wnr854t-setup.c -rw-r--r-- 4.4 KB
wrt350n-v2-setup.c -rw-r--r-- 6.2 KB

back to top