summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:25:03 -0600
committerQuinn Jensen <quinn.jensen@freescale.com>2007-10-24 21:25:03 -0600
commit858dad7b65a6a17a9513b89f0c38cc31a5c6f374 (patch)
treea5c2692bc6fd77fb5d60a1397ae34e810c8a6a8f /drivers
parent7e1a2d1ce76600d707807545a3f8ed95c14a12ed (diff)
CR ENGR00048159 Add L2 flush for all mxc PF
Patch for CR ENGR00048159 Add L2 flush for all mxc PF. This patch adds an outer cache flush_all function needed by the IPU mxc_pf driver to synchronize WT cached buffers in the L2 cache. Applies to linux 2.6.22 kernel on MX3 platforms. http://www.bitshrine.org/gpp/linux-2.6.22-mx-CR-ENGR00048159-Add-L2-flush-for-all-mxc-P.patch
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mxc/ipu/pf/mxc_pf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mxc/ipu/pf/mxc_pf.c b/drivers/mxc/ipu/pf/mxc_pf.c
index fe5057ed3d2b..317c613ba1ec 100644
--- a/drivers/mxc/ipu/pf/mxc_pf.c
+++ b/drivers/mxc/ipu/pf/mxc_pf.c
@@ -885,7 +885,7 @@ int mxc_pf_fsync(struct file *filp, struct dentry *dentry, int datasync)
{
if (pf_data.buffer_dirty) {
flush_cache_all();
-// l2_flush_all();
+ outer_flush_all();
}
pf_data.buffer_dirty = false;