diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2016-06-29 15:24:29 +0200 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-07-25 10:34:41 +0200 |
commit | ed1563de0bc90e09d9707a85cf8d0e958c6f6261 (patch) | |
tree | bc1221a33e862c4a7bdc0a2dbe186dec2cea61a0 /drivers/mmc/host/sdhci.h | |
parent | mmc: sdhci: Factor out sdhci_needs_reset() (diff) | |
download | linux-ed1563de0bc90e09d9707a85cf8d0e958c6f6261.tar.xz linux-ed1563de0bc90e09d9707a85cf8d0e958c6f6261.zip |
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>
Diffstat (limited to 'drivers/mmc/host/sdhci.h')
-rw-r--r-- | drivers/mmc/host/sdhci.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mmc/host/sdhci.h b/drivers/mmc/host/sdhci.h index 13e0bd6cff5d..7301c90f8500 100644 --- a/drivers/mmc/host/sdhci.h +++ b/drivers/mmc/host/sdhci.h @@ -463,6 +463,7 @@ struct sdhci_host { bool runtime_suspended; /* Host is runtime suspended */ bool bus_on; /* Bus power prevents runtime suspend */ bool preset_enabled; /* Preset is enabled */ + bool pending_reset; /* Cmd/data reset is pending */ struct mmc_request *mrq; /* Current request */ struct mmc_command *cmd; /* Current command */ |