Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5264159d authored by Nikhilesh Reddy's avatar Nikhilesh Reddy
Browse files

uio: msm_sharedmem: Add custom mmap



Uio's default mmap for physical memory uses
pgprot_noncached which is strongly ordered.

Using pgprot_writecombine would allow for
unalligned access.

Add a custom mmap function when registering uio
to allow unalligned access to the mmaped
region.

Change-Id: If314eade4913bafd53d2b4abc6b205385e29dfd3
Signed-off-by: default avatarNikhilesh Reddy <reddyn@codeaurora.org>
parent dbd2b72e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment