summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Chen <b02280@freescale.com>2010-07-26 14:16:52 +0800
committerJason Chen <b02280@freescale.com>2010-07-26 16:03:10 +0800
commit6bbc17cf7e3ea7667c0d70732e9563bfcaca7736 (patch)
treecfe0f27774316060d346bbb88dbbe1ac0fe53a59
parentd67897041faebd05535de084ea2f080f63ac476b (diff)
ENGR00125506 ipu dev: change mmap to writethrough policy
The mmap policy should be writethrough. Signed-off-by: Jason Chen <b02280@freescale.com> (cherry picked from commit aceea32a54b8aa248d771b589d46ce8fbe3c2806)
-rw-r--r--drivers/mxc/ipu3/ipu_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mxc/ipu3/ipu_device.c b/drivers/mxc/ipu3/ipu_device.c
index c98e51c8b389..20360ee1264a 100644
--- a/drivers/mxc/ipu3/ipu_device.c
+++ b/drivers/mxc/ipu3/ipu_device.c
@@ -446,7 +446,7 @@ static int mxc_ipu_ioctl(struct inode *inode, struct file *file,
static int mxc_ipu_mmap(struct file *file, struct vm_area_struct *vma)
{
-// vma->vm_page_prot = pgprot_writethru(vma->vm_page_prot);
+ vma->vm_page_prot = pgprot_writethru(vma->vm_page_prot);
if (remap_pfn_range(vma, vma->vm_start, vma->vm_pgoff,
vma->vm_end - vma->vm_start,