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

Skip to content
Commit 4bb06438 authored by Isaac J. Manjarres's avatar Isaac J. Manjarres
Browse files

dma-mapping-fast: Align memory allocation to dma_alloc_attrs expectations



On newer kernels, memory allocated by dma_alloc_attrs() is
expected to be zeroed out upon allocation. The allocation
paths in fastmap do not currently account for this new
requirement, so update them to zero out memory, unless
the client explicitly asks for memory to not be zeroed out.

Change-Id: I5c7fa81ab4b8fa98890036082883769ab12443c6
Signed-off-by: default avatarIsaac J. Manjarres <isaacm@codeaurora.org>
parent 4c93b2bd
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