From 350226c20f00956a0f4d5ae02e2701b3c9604728 Mon Sep 17 00:00:00 2001 From: Al Viro Date: Sat, 11 May 2013 12:15:47 -0400 Subject: [PATCH] samsung: don't bother with setting VM_IO io_remap_pfn_range() will set it just fine Signed-off-by: Al Viro --- sound/soc/samsung/idma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/sound/soc/samsung/idma.c b/sound/soc/samsung/idma.c index 6e5fed30aa27..ce1e1e16f250 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, -- 2.20.1