diff options
author | Jason Chen <b02280@freescale.com> | 2011-03-17 14:20:02 +0800 |
---|---|---|
committer | Jason Chen <b02280@freescale.com> | 2011-03-17 14:20:02 +0800 |
commit | bbc556203086e602d176d2b627293377354b644e (patch) | |
tree | 91f6bc1953b6f4b690f2889a06f46a0f10ac089a | |
parent | be2206443987c646122cd302dadecee4e4ae8327 (diff) |
ENGR00140764 ipuv3 dev: change cache policy to writethrough
Change from writecombine to writethrough.
Signed-off-by: Jason Chen <b02280@freescale.com>
-rw-r--r-- | drivers/mxc/ipu3/ipu_device.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mxc/ipu3/ipu_device.c b/drivers/mxc/ipu3/ipu_device.c index c7c032d85d52..25a2686a645d 100644 --- a/drivers/mxc/ipu3/ipu_device.c +++ b/drivers/mxc/ipu3/ipu_device.c @@ -1,5 +1,5 @@ /* - * Copyright 2005-2010 Freescale Semiconductor, Inc. All Rights Reserved. + * Copyright 2005-2011 Freescale Semiconductor, Inc. All Rights Reserved. */ /* @@ -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_writecombine(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, |