diff options
author | Haibo Chen | 2020-02-19 16:25:55 +0800 |
---|---|---|
committer | Ulf Hansson | 2020-03-24 14:35:41 +0100 |
commit | e534b82f24b3b83f65a8f59283624f24992235e5 (patch) | |
tree | b99ea8128939f00656d2d4e23abc7b77a328a18e /tools/arch | |
parent | 982cf37da3ee0f1e3e20d97e19f13cba79be51c7 (diff) |
mmc: sdhci-esdhc-imx: clear DMA_SEL when disable DMA mode
Currently, when use standard tuning, driver default disable DMA just before
send tuning command. But on i.MX8 usdhc, this is not enough. Need also clear
DMA_SEL. If not, once the DMA_SEL select AMDA2 before, even dma already disabled,
when send tuning command, usdhc will still prefetch the ADMA script from wrong
DMA address, then we will see IOMMU report some error which show lack of TLB
mapping.
Signed-off-by: Haibo Chen <haibo.chen@nxp.com>
Acked-by: Adrian Hunter <adrian.hunter@intel.com>
Link: https://lore.kernel.org/r/1582100757-20683-7-git-send-email-haibo.chen@nxp.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to 'tools/arch')
0 files changed, 0 insertions, 0 deletions