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

Commit bd0656c8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cma: Drop the right mutex"

parents 4e90ee81 1e9802fb
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -560,7 +560,7 @@ unsigned long dma_alloc_from_contiguous(struct device *dev, int count,
		pageno = bitmap_find_next_zero_area(cma->bitmap, cma->count,
						    start, count, mask);
		if (pageno >= cma->count) {
			mutex_unlock(&cma_mutex);
			mutex_unlock(&cma->lock);
			break;
		}
		bitmap_set(cma->bitmap, pageno, count);