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
image
Kconfig -rw-r--r-- 292 bytes
Makefile -rw-r--r-- 371 bytes
at93c.c -rw-r--r-- 2.6 KB
at93c.h -rw-r--r-- 292 bytes
ds1603.c -rw-r--r-- 3.1 KB
ds1603.h -rw-r--r-- 509 bytes
interrupt.c -rw-r--r-- 3.4 KB
lasat_board.c -rw-r--r-- 7.0 KB
lasat_models.h -rw-r--r-- 1.6 KB
picvue.c -rw-r--r-- 4.3 KB
picvue.h -rw-r--r-- 918 bytes
picvue_proc.c -rw-r--r-- 4.6 KB
prom.c -rw-r--r-- 2.8 KB
prom.h -rw-r--r-- 162 bytes
reset.c -rw-r--r-- 1.6 KB
serial.c -rw-r--r-- 3.0 KB
setup.c -rw-r--r-- 3.7 KB
sysctl.c -rw-r--r-- 5.9 KB

back to top