From: Al Viro Date: Sat, 11 May 2013 16:15:47 +0000 (-0400) Subject: samsung: don't bother with setting VM_IO X-Git-Tag: accepted/tizen/common/20141203.182822~2002^2~65 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=350226c20f00956a0f4d5ae02e2701b3c9604728;p=platform%2Fkernel%2Flinux-arm64.git samsung: don't bother with setting VM_IO io_remap_pfn_range() will set it just fine Signed-off-by: Al Viro --- diff --git a/sound/soc/samsung/idma.c b/sound/soc/samsung/idma.c index 6e5fed3..ce1e1e1 100644 --- a/sound/soc/samsung/idma.c +++ b/sound/soc/samsung/idma.c @@ -257,7 +257,6 @@ static int idma_mmap(struct snd_pcm_substream *substream, /* From snd_pcm_lib_mmap_iomem */ vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); - vma->vm_flags |= VM_IO; size = vma->vm_end - vma->vm_start; offset = vma->vm_pgoff << PAGE_SHIFT; ret = io_remap_pfn_range(vma, vma->vm_start,