commit | 9fe17b5d47d3d3c85b35623dea8f571a184134c0 | [log] [tgz] |
---|---|---|
author | Takashi Iwai <tiwai@suse.de> | Wed May 12 10:32:42 2010 +0200 |
committer | Takashi Iwai <tiwai@suse.de> | Wed May 12 10:32:42 2010 +0200 |
tree | c2cb92b7f898a68b8cbb3adb8deee265b1f06684 | |
parent | 6a45f7822544c54a2cf070d84f4e85f2fb32ec02 [diff] |
ALSA: pcm - Use pgprot_noncached() for MIPS non-coherent archs 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>