msm: camera: mem_mgr: Add dma_buf_vunmap to cam_compat
dma_buf_vunmap function signature changed between kernel version 5.10 and 5.15. CRs-Fixed: 3088126 Change-Id: If6ef72aa7839e358bc6d7a384e628b760ecaf265 Signed-off-by: zhuo <quic_zhuo@quicinc.com>
This commit is contained in:
@@ -148,7 +148,7 @@ static int cam_mem_util_unmap_cpu_va(struct dma_buf *dmabuf,
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
dma_buf_vunmap(dmabuf, (void *)vaddr);
|
||||
cam_compat_util_put_dmabuf_va(dmabuf, (void *)vaddr);
|
||||
|
||||
/*
|
||||
* dma_buf_begin_cpu_access() and
|
||||
|
Reference in New Issue
Block a user