diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-05-11 12:15:47 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-06-29 04:46:36 -0400 |
commit | 350226c20f00956a0f4d5ae02e2701b3c9604728 (patch) | |
tree | 16078d3f867f12b3fe8e9276fc429028e1b9711f /sound | |
parent | 40d158e61840fbbe23be3f37302a3ca237c15491 (diff) |
samsung: don't bother with setting VM_IO
io_remap_pfn_range() will set it just fine
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/soc/samsung/idma.c | 1 |
1 files changed, 0 insertions, 1 deletions
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, | |||
257 | 257 | ||
258 | /* From snd_pcm_lib_mmap_iomem */ | 258 | /* From snd_pcm_lib_mmap_iomem */ |
259 | vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); | 259 | vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot); |
260 | vma->vm_flags |= VM_IO; | ||
261 | size = vma->vm_end - vma->vm_start; | 260 | size = vma->vm_end - vma->vm_start; |
262 | offset = vma->vm_pgoff << PAGE_SHIFT; | 261 | offset = vma->vm_pgoff << PAGE_SHIFT; |
263 | ret = io_remap_pfn_range(vma, vma->vm_start, | 262 | ret = io_remap_pfn_range(vma, vma->vm_start, |