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

Commit 6abe7803 authored by Karthik Anantha Ram's avatar Karthik Anantha Ram Committed by Gerrit - the friendly Code Review server
Browse files

msm: camera: icp: Release SFR memory



Memory allocated for SFR buffer needs to be released at
the end of the usecase.

Change-Id: Iab820711a06ba71a09990dc5cff0857e73f57181
Signed-off-by: default avatarKarthik Anantha Ram <kartanan@codeaurora.org>
parent 0fff435e
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2026,6 +2026,7 @@ static void cam_icp_free_hfi_mem(void)
	cam_mem_mgr_release_mem(&icp_hw_mgr.hfi_mem.cmd_q);
	cam_mem_mgr_release_mem(&icp_hw_mgr.hfi_mem.msg_q);
	cam_mem_mgr_release_mem(&icp_hw_mgr.hfi_mem.dbg_q);
	cam_mem_mgr_release_mem(&icp_hw_mgr.hfi_mem.sfr_buf);
}

static int cam_icp_alloc_secheap_mem(struct cam_mem_mgr_memory_desc *secheap)