|
@@ -2594,7 +2594,6 @@ int cam_smmu_release_buf_region(enum cam_smmu_region_id region,
|
|
dma_buf_unmap_attachment(buf_info->attach,
|
|
dma_buf_unmap_attachment(buf_info->attach,
|
|
buf_info->table, DMA_BIDIRECTIONAL);
|
|
buf_info->table, DMA_BIDIRECTIONAL);
|
|
dma_buf_detach(buf_info->buf, buf_info->attach);
|
|
dma_buf_detach(buf_info->buf, buf_info->attach);
|
|
- dma_buf_put(buf_info->buf);
|
|
|
|
*is_buf_allocated = false;
|
|
*is_buf_allocated = false;
|
|
mutex_unlock(&cb_info->lock);
|
|
mutex_unlock(&cb_info->lock);
|
|
|
|
|