diff options
-rw-r--r-- | linux/drivers/media/dvb/cinergyT2/cinergyT2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c index 6f74af062..32f7800fa 100644 --- a/linux/drivers/media/dvb/cinergyT2/cinergyT2.c +++ b/linux/drivers/media/dvb/cinergyT2/cinergyT2.c @@ -645,8 +645,8 @@ int cinergyt2_mmap(struct file *file, struct vm_area_struct *vma) vma->vm_flags |= (VM_IO | VM_DONTCOPY); vma->vm_file = file; - ret = remap_pfn_range(vma, vma->vm_start >> PAGE_SHIFT, - virt_to_phys(cinergyt2->streambuf), + ret = remap_pfn_range(vma, vma->vm_start, + virt_to_phys(cinergyt2->streambuf) >> PAGE_SHIFT, vma->vm_end - vma->vm_start, vma->vm_page_prot) ? -EAGAIN : 0; bailout: |