diff options
| author | Christoph Hellwig <hch@lst.de> | 2021-11-09 17:20:40 +0300 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2021-12-07 14:48:09 +0300 |
| commit | f3c962226dbec7a611ddd4eb7af7f4e19f4790ea (patch) | |
| tree | 2ef0c38e670817c1b105eea2e1aa092d7b29a7bc /drivers/usb/cdns3/cdns3-imx.c | |
| parent | a90cf30437489343b8386ae87b4827b6d6c3ed50 (diff) | |
| download | linux-f3c962226dbec7a611ddd4eb7af7f4e19f4790ea.tar.xz | |
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>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions
