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

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

Merge "Revert "dma-coherent: limit alignment of dma-coherent allocations""

parents 742bb7fe 6867a4e4
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -168,9 +168,6 @@ static void *__dma_alloc_from_coherent(struct dma_coherent_mem *mem,
	int pageno;
	void *ret;

	if (order > CONFIG_CMA_ALIGNMENT)
		order = CONFIG_CMA_ALIGNMENT;

	spin_lock_irqsave(&mem->spinlock, flags);

	if (unlikely(size > (mem->size << PAGE_SHIFT)))