Skip to content
Commit 37e1362e authored by Yuezhang.Mo@sony.com's avatar Yuezhang.Mo@sony.com Committed by Peng Fan
Browse files

mmc: sdhci: skip cache invalidation if DMA is not used



If DMA(SDMA or ADMA) is not used, the cache invalidation
after reading is no need, should be skipped. Otherwise
U-Boot may hang at the cache invalidation.

Found this issue and tested this fix on DragonBoard 410c.

Fixes: commit 4155ad9a ("mmc: sdhci: fix missing cache invalidation after reading by DMA")

Signed-off-by: default avatarYuezhang.Mo <Yuezhang.Mo@sony.com>
Reviewed-by: default avatarAndy Wu <Andy.Wu@sony.com>
parent 1019b196
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment