samsung: don't bother with setting VM_IO
authorAl Viro <viro@zeniv.linux.org.uk>
Sat, 11 May 2013 16:15:47 +0000 (12:15 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:46:36 +0000 (12:46 +0400)
io_remap_pfn_range() will set it just fine

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
sound/soc/samsung/idma.c

index 6e5fed30aa27a00ccfb741519d6cf2ae6cd8bc9c..ce1e1e16f250affafbc333d165c2843e043bfa23 100644 (file)
@@ -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,