Skip to content
Commit 3ca340cf authored by Krishnankutty Kolathappilly's avatar Krishnankutty Kolathappilly Committed by Soundrapandian Jeyaprakash
Browse files

msm: camera: Avoid calling unmap hardware virtual address



Avoid calling unmap hardware virtual address if the buffer is
not accessed by hardware. MAP and UNMAP both needs to be protected
by shared access and hardware access flags. Release buffers
failure observed in userspace on trying to unmap buffers that are
not allocated with hardware access

Change-Id: I26f9f85f8beb57f8a57ec90443771f20cdb5cbdd
Signed-off-by: default avatarKrishnankutty Kolathappilly <kkolatha@codeaurora.org>
Signed-off-by: default avatarSoundrapandian Jeyaprakash <jsoundra@codeaurora.org>
parent 71ddd6d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment