diff mbox

[RFC/PATCH,0/6] DSPBRIDGE: fix mem+cache API issues

Message ID AANLkTil4oTPcGC7XRY_HyY0pJ6C_huKTHQcZGH9-fjfZ@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Ohad Ben Cohen May 24, 2010, 7:49 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/dsp/bridge/core/tiomap3430.c
b/drivers/dsp/bridge/core/tiomap3430.c
index e122f04..7030012 100644
--- a/drivers/dsp/bridge/core/tiomap3430.c
+++ b/drivers/dsp/bridge/core/tiomap3430.c
@@ -1326,7 +1326,7 @@  static dsp_status bridge_brd_mem_map(struct
bridge_dev_context *hDevContext,
                goto func_cont;
        }

-       if (vma->vm_flags & VM_IO) {
+       if (vma->vm_flags & (VM_IO | VM_PFNMAP)) {
                num_usr_pgs = ul_num_bytes / PG_SIZE4K;
                mpu_addr = ul_mpu_addr;