Commit 350226c2 authored by Al Viro's avatar Al Viro

samsung: don't bother with setting VM_IO

io_remap_pfn_range() will set it just fine
Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 40d158e6
...@@ -257,7 +257,6 @@ static int idma_mmap(struct snd_pcm_substream *substream, ...@@ -257,7 +257,6 @@ static int idma_mmap(struct snd_pcm_substream *substream,
/* From snd_pcm_lib_mmap_iomem */ /* From snd_pcm_lib_mmap_iomem */
vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
vma->vm_flags |= VM_IO;
size = vma->vm_end - vma->vm_start; size = vma->vm_end - vma->vm_start;
offset = vma->vm_pgoff << PAGE_SHIFT; offset = vma->vm_pgoff << PAGE_SHIFT;
ret = io_remap_pfn_range(vma, vma->vm_start, ret = io_remap_pfn_range(vma, vma->vm_start,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment