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: Iace90ff33d9271326532f815fc84e0a9062a842c Signed-off-by:Jigarkumar Zala <jzala@codeaurora.org> Signed-off-by:
Niranjan Reddy Dumbala <dnreddy@codeaurora.org>
Loading
Please register or sign in to comment