mmc: sdhci: Track whether a reset is pending
authorAdrian Hunter <adrian.hunter@intel.com>
Wed, 29 Jun 2016 13:24:29 +0000 (16:24 +0300)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 25 Jul 2016 08:34:41 +0000 (10:34 +0200)
commited1563de0bc90e09d9707a85cf8d0e958c6f6261
treebc1221a33e862c4a7bdc0a2dbe186dec2cea61a0
parent0cc563ce5436dca3119af86d0396412efec13a0f
mmc: sdhci: Track whether a reset is pending

SDHCI recovers from errors by resetting the cmd and data circuits. Until
that is done, there very well might be more interrupts, so ignore them in
that case.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/sdhci.c
drivers/mmc/host/sdhci.h