Skip to content
Commit 3abc1e80 authored by Shaohui Xie's avatar Shaohui Xie Committed by Chris Ball
Browse files

mmc: sdhci: restore the enabled dma when do reset all



If dma is enabled, it'll be cleared when reset all is performed, this can
be observed on some platforms, such as P2041 which has a version 2.3
controller, but platform like P4080 which has a version 2.2 controller,
does not suffer this, so we will check if the dma is enabled, we should
restore it after reset all.

Signed-off-by: default avatarShaohui Xie <Shaohui.Xie@freescale.com>
Signed-off-by: default avatarChris Ball <cjb@laptop.org>
parent 8234e869
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