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-- 6.3 KB
Makefile -rw-r--r-- 1.3 KB
Makefile.boot -rw-r--r-- 57 bytes
avila-pci.c -rw-r--r-- 1.9 KB
avila-setup.c -rw-r--r-- 4.5 KB
common-pci.c -rw-r--r-- 12.1 KB
common.c -rw-r--r-- 11.7 KB
coyote-pci.c -rw-r--r-- 1.6 KB
coyote-setup.c -rw-r--r-- 3.3 KB
dsmg600-pci.c -rw-r--r-- 2.0 KB
dsmg600-setup.c -rw-r--r-- 7.2 KB
fsg-pci.c -rw-r--r-- 1.7 KB
fsg-setup.c -rw-r--r-- 6.6 KB
gateway7001-pci.c -rw-r--r-- 1.5 KB
gateway7001-setup.c -rw-r--r-- 2.6 KB
goramo_mlr.c -rw-r--r-- 12.2 KB
gtwx5715-pci.c -rw-r--r-- 2.3 KB
gtwx5715-setup.c -rw-r--r-- 4.6 KB
ixdp425-pci.c -rw-r--r-- 1.8 KB
ixdp425-setup.c -rw-r--r-- 7.4 KB
ixdpg425-pci.c -rw-r--r-- 1.3 KB
ixp4xx_npe.c -rw-r--r-- 21.0 KB
ixp4xx_qmgr.c -rw-r--r-- 9.1 KB
nas100d-pci.c -rw-r--r-- 1.8 KB
nas100d-setup.c -rw-r--r-- 7.9 KB
nslu2-pci.c -rw-r--r-- 1.6 KB
nslu2-setup.c -rw-r--r-- 7.0 KB
wg302v2-pci.c -rw-r--r-- 1.4 KB
wg302v2-setup.c -rw-r--r-- 2.5 KB

back to top