瀏覽代碼

video: driver: fix dmabuf put

call dmabuf put function instead
of dma heap buffer free.

Change-Id: Ic8946ebf189aeb94d93cf5aaa38b0b790d64f2f0
Signed-off-by: Darshana Patil <[email protected]>
Darshana Patil 4 年之前
父節點
當前提交
7c203e7bf5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      driver/vidc/src/msm_vidc_memory.c

+ 1 - 1
driver/vidc/src/msm_vidc_memory.c

@@ -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)