iommu/dma-iommu: Use the dev->coherent_dma_mask
authorTom Murphy <murphyt7@tcd.ie>
Sun, 8 Sep 2019 16:56:40 +0000 (09:56 -0700)
committerJoerg Roedel <jroedel@suse.de>
Tue, 15 Oct 2019 09:31:04 +0000 (11:31 +0200)
commit6e2350207f40e24884da262976f7fd4fba387e8a
tree7f7edbc84768cc9f54cd6d95ceebcd657bc3ecb0
parent795bbbb9b6f80306be3d45c79527324036a68509
iommu/dma-iommu: Use the dev->coherent_dma_mask

Use the dev->coherent_dma_mask when allocating in the dma-iommu ops api.

Signed-off-by: Tom Murphy <murphyt7@tcd.ie>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/dma-iommu.c