Skip to content
Commit f3c96222 authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

dma-direct: clean up the remapping checks in dma_direct_alloc



Add two local variables to track if we want to remap the returned
address using vmap or call dma_set_uncached and use that to simplify
the code flow.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Reviewed-by: default avatarRobin Murphy <robin.murphy@arm.com>
parent a90cf304
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment