]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: tmio: Use dma_max_mapping_size() instead of a workaround
authorYoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Wed, 19 Jun 2019 04:55:30 +0000 (13:55 +0900)
committerUlf Hansson <ulf.hansson@linaro.org>
Wed, 10 Jul 2019 11:17:30 +0000 (13:17 +0200)
commit13231d2f952d930f84580d59018dd0185885530d
tree35d74ad553fec6045405c37292580782bc0e4cc2
parente0fbbb10af3af9150df6c5a6758d107885152891
mmc: tmio: Use dma_max_mapping_size() instead of a workaround

Since the commit 299d9dee555a ("dma: Introduce dma_max_mapping_size()")
provides a helper function to get the max mapping size, we can use
the function instead of the workaround code for swiotlb.

Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/tmio_mmc_core.c