Skip to content
Commit 9fe17b5d authored by Takashi Iwai's avatar Takashi Iwai
Browse files

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: default avatarWu Zhangjin <wuzhangjin@gmail.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6a45f782
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment