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

Skip to content
Commit 68fd468c authored by Jigarkumar Zala's avatar Jigarkumar Zala
Browse files

msm: camera: Add put_cpu_buf for signaling end of cpu access



dma_buf_(begin/end)_cpu_access api needs to be called in pair as per
dma_buf expectation. We call begin_cpu_access in get_cpu_buf but there
is no indication when the cpu access ends. This change adds put_cpu_buf
function that the drivers will call to signal the end of cpu access.
Mem mgr will call end_cpu_access on that dma_buf in put_cpu_buf.
This change also adds put_cpu_buf calls to matching get_cpu_buf calls
in all the drivers.

Change-Id: Ife98434a049ef4377f5148854d1d8b1f20345cfa
Signed-off-by: default avatarJigarkumar Zala <jzala@codeaurora.org>
parent 1ee9e09f
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