]> Git Repo - linux.git/commit
arm64: default to the direct mapping in get_arch_dma_ops
authorChristoph Hellwig <[email protected]>
Fri, 14 Dec 2018 14:18:08 +0000 (15:18 +0100)
committerChristoph Hellwig <[email protected]>
Wed, 19 Dec 2018 17:00:12 +0000 (18:00 +0100)
commit9ab91e7c5c514b675470d9b57393cbe455722060
tree63c42d95b087c7860123380ddfc56ccdece9cf75
parent664204410afb3b0f538d176ad0c2713b04abd4b9
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 <[email protected]>
Reported-by: Marek Szyprowski <[email protected]>
Tested-by: Marek Szyprowski <[email protected]>
Reviewed-by: Robin Murphy <[email protected]>
arch/arm64/include/asm/dma-mapping.h
This page took 0.058921 seconds and 4 git commands to generate.