commit | f3c962226dbec7a611ddd4eb7af7f4e19f4790ea | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Nov 09 15:20:40 2021 +0100 |
committer | Christoph Hellwig <hch@lst.de> | Tue Dec 07 12:48:09 2021 +0100 |
tree | 2ef0c38e670817c1b105eea2e1aa092d7b29a7bc | |
parent | a90cf30437489343b8386ae87b4827b6d6c3ed50 [diff] |
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: Christoph Hellwig <hch@lst.de> Reviewed-by: Robin Murphy <robin.murphy@arm.com>