diff options
| author | Christoph Hellwig <hch@lst.de> | 2021-10-21 10:39:12 +0300 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2021-12-07 14:50:10 +0300 |
| commit | aea7e2a86a94b2583e1e812c596140034398a169 (patch) | |
| tree | 2a5f76c537ceb31036764480d9c382172e261267 /drivers/usb/cdns3/cdns3-imx.c | |
| parent | f5d3939a5916c0a8a0b47dcbc33963dbffe74f90 (diff) | |
| download | linux-aea7e2a86a94b2583e1e812c596140034398a169.tar.xz | |
dma-direct: factor the swiotlb code out of __dma_direct_alloc_pages
Add a new helper to deal with the swiotlb case. This keeps the code
nicely boundled and removes the not required call to
dma_direct_optimal_gfp_mask for the swiotlb case.
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
