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

Skip to content
Commit 0c364778 authored by Karthik Anantha Ram's avatar Karthik Anantha Ram Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: Remove usage of put_ref API in memory manager



Currently if there is a need for kernel to access a buffer,
dma_begin/end is invoked each time. This also occurs in soft irq
ctx leading to a kernel panic due to the usage of mutex in the
begin/end API's. The change removes invoking these API's multiple
times. They will be invoked once during map/unmap respectively.

Change-Id: I598242526ac36d35b1e4638d095313d4d7a2cbf5
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent 5a1140fa
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