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

Commit c8879e20 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ion: Remove ION_HEAP_FLAG_DEFER_FREE for dynamic carveout heaps"

parents b87e4955 979014b3
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -301,6 +301,7 @@ __ion_carveout_heap_create(struct ion_platform_heap *heap_data,
	carveout_heap->heap.ion_heap.buf_ops = msm_ion_dma_buf_ops;
	carveout_heap->heap.msm_heap_ops = &msm_carveout_heap_ops;
	carveout_heap->heap.ion_heap.type = ION_HEAP_TYPE_CARVEOUT;
	if (!dynamic_heap)
		carveout_heap->heap.ion_heap.flags = ION_HEAP_FLAG_DEFER_FREE;

	return &carveout_heap->heap.ion_heap;