Commit 50aa7cd7 authored by Subash Abhinov Kasiviswanathan's avatar Subash Abhinov Kasiviswanathan
Browse files

drivers: shs: protect mmap file operations using shs ep lock



This adds synchronization for the mmap file operation so that an mmap
will only occur after a succesful open and will not occur after a release.
This is done by using a fault handler for each shared memory file and
checking the respective global variable inside of the ep lock.

Change-Id: I955dfc8e745b1e275328721e9934ef8c020d8fa3
Signed-off-by: default avatarSubash Abhinov Kasiviswanathan <subashab@codeaurora.org>
parent 1932a915
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment