]> Git Repo - J-u-boot.git/commit
mmc: sdhci: skip cache invalidation if DMA is not used
author[email protected] <[email protected]>
Thu, 14 Jan 2021 05:46:50 +0000 (05:46 +0000)
committerPeng Fan <[email protected]>
Fri, 19 Feb 2021 07:03:25 +0000 (15:03 +0800)
commit37e1362efc2ba9be5355b3c55f9f4f7a43f02de2
treef84f4b5d832773e369a815bb26b3c45fa277d5d7
parent1019b19665ee719762f7613a36bf1b7ef9c3b578
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 4155ad9aac94 ("mmc: sdhci: fix missing cache invalidation after reading by DMA")
Signed-off-by: Yuezhang.Mo <[email protected]>
Reviewed-by: Andy Wu <[email protected]>
drivers/mmc/sdhci.c
This page took 0.035356 seconds and 4 git commands to generate.