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

Skip to content
Commit 91306dfc authored by Laura Abbott's avatar Laura Abbott Committed by Michael Bohan
Browse files

arm64: Align CMA sizes to PAGE_SIZE



dma_alloc_from_contiguous takes number of pages for a size.
Align up the dma size passed in to page size to avoid truncation
and allocation failures on sizes less than PAGE_SIZE.

Change-Id: Ibe079ddef8a6a5f0a216fb2945f3e1750fd0ff69
Signed-off-by: default avatarLaura Abbott <lauraa@codeaurora.org>
parent 6100f6fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment