sdhci: stop poking into swiotlb internals
authorChristoph Hellwig <hch@lst.de>
Thu, 4 Feb 2021 16:02:14 +0000 (17:02 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Sat, 20 Feb 2021 15:13:19 +0000 (10:13 -0500)
commit66e8d3b8995c05cb1e17b120f52e0218bc534a49
treec53496e5138ffe5e1cd6bd3a401708476007c00f
parent1048ba83fb1c00cd24172e23e8263972f6b5d9ac
sdhci: stop poking into swiotlb internals

Use the proper API to query the max mapping size instead of guessing
it based on swiotlb internals.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
drivers/mmc/host/sdhci.c