From: Takashi Iwai Date: Wed, 12 May 2010 08:32:42 +0000 (+0200) Subject: ALSA: pcm - Use pgprot_noncached() for MIPS non-coherent archs X-Git-Tag: v2.6.34~23^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fe17b5d47d3d3c85b35623dea8f571a184134c0;p=pandora-kernel.git 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 Signed-off-by: Takashi Iwai --- Reading git-diff-tree failed