diff options
author | Christoph Hellwig | 2018-12-14 15:18:08 +0100 |
---|---|---|
committer | Christoph Hellwig | 2018-12-19 18:00:12 +0100 |
commit | 9ab91e7c5c514b675470d9b57393cbe455722060 (patch) | |
tree | 63c42d95b087c7860123380ddfc56ccdece9cf75 /include | |
parent | PCI: Remove unused attr variable in pci_dma_configure (diff) | |
download | kernel-qcow2-linux-9ab91e7c5c514b675470d9b57393cbe455722060.tar.gz kernel-qcow2-linux-9ab91e7c5c514b675470d9b57393cbe455722060.tar.xz kernel-qcow2-linux-9ab91e7c5c514b675470d9b57393cbe455722060.zip |
arm64: default to the direct mapping in get_arch_dma_ops
Otherwise the direct mapping won't work at all given that a NULL
dev->dma_ops causes a fallback. Note that we already explicitly set
dev->dma_ops to dma_dummy_ops for dma-incapable devices, so this
fallback should not be needed anyway.
Fixes: 356da6d0cd ("dma-mapping: bypass indirect calls for dma-direct")
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reported-by: Marek Szyprowski <m.szyprowski@samsung.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions