commit | 4268ac6ae5870af10a7417b22990d615f72f77e2 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Tue Nov 19 17:35:36 2019 +0100 |
committer | Christoph Hellwig <hch@lst.de> | Wed Nov 20 20:31:41 2019 +0100 |
tree | 4f50419289b7d2e946c5ad499d040a5a9ae27449 | |
parent | 50f579a2399dee0ad1c86ea8159ab8657b74f95b [diff] |
dma-direct: don't check swiotlb=force in dma_direct_map_resource When mapping resources we can't just use swiotlb ram for bounce buffering. Switch to a direct dma_capable check instead. Fixes: cfced786969c ("dma-mapping: remove the default map_resource implementation") Reported-by: Robin Murphy <robin.murphy@arm.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Acked-by: Marek Szyprowski <m.szyprowski@samsung.com> Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>