Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit aaf796dc authored by Christoph Hellwig's avatar Christoph Hellwig
Browse files

swiotlb: wire up ->dma_supported in swiotlb_dma_ops



To properly reject too small DMA masks based on the addressability of the
bounce buffer.

Signed-off-by: default avatarChristoph Hellwig <hch@lst.de>
Acked-by: default avatarChristian König <christian.koenig@amd.com>
parent 251533eb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1128,5 +1128,6 @@ const struct dma_map_ops swiotlb_dma_ops = {
	.unmap_sg		= swiotlb_unmap_sg_attrs,
	.map_page		= swiotlb_map_page,
	.unmap_page		= swiotlb_unmap_page,
	.dma_supported		= swiotlb_dma_supported,
};
#endif /* CONFIG_DMA_DIRECT_OPS */