call dmabuf put function instead of dma heap buffer free. Change-Id: Ic8946ebf189aeb94d93cf5aaa38b0b790d64f2f0 Signed-off-by: Darshana Patil <[email protected]>
@@ -72,7 +72,7 @@ void msm_vidc_memory_put_dmabuf(void *dmabuf)
return;
}
- dma_heap_buffer_free((struct dma_buf *)dmabuf);
+ dma_buf_put((struct dma_buf *)dmabuf);
int msm_vidc_memory_map(struct msm_vidc_core *core, struct msm_vidc_map *map)