Skip to content

Commit

Permalink
samsung: don't bother with setting VM_IO
Browse files Browse the repository at this point in the history
io_remap_pfn_range() will set it just fine

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro committed Jun 29, 2013
1 parent 40d158e commit 350226c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/samsung/idma.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 350226c

Please sign in to comment.