mmc: sdhci-of-dwcmshc: solve 128MB DMA boundary limitation
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>
Tue, 28 Aug 2018 09:48:14 +0000 (17:48 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 8 Oct 2018 09:40:43 +0000 (11:40 +0200)
commitb85c997d2cfefe7d1f706b85ae46e35a50e3131c
treef1aa82a006d0b5b6fdf5cd55a42161f466522af5
parent54552e4948cbfc87ba2fe81566cd4a8d7195a033
mmc: sdhci-of-dwcmshc: solve 128MB DMA boundary limitation

When using DMA, if the DMA addr spans 128MB boundary, we have to split
the DMA transfer into two so that each one doesn't exceed the boundary.

Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci-of-dwcmshc.c