diff options
author | Adrian Hunter <adrian.hunter@intel.com> | 2016-12-19 16:33:11 +0300 |
---|---|---|
committer | Ulf Hansson <ulf.hansson@linaro.org> | 2016-12-20 13:42:33 +0300 |
commit | 84ec048ba133c2a570273e90622d8fac4930553e (patch) | |
tree | fed94ab5b6b4b81a6ed669940ec25017fc330657 /.get_maintainer.ignore | |
parent | 5b311c1519c658bf06f7a08a2ddc2648e4c9cd5c (diff) | |
download | linux-84ec048ba133c2a570273e90622d8fac4930553e.tar.xz |
mmc: sdhci: Fix to handle MMC_POWER_UNDEFINED
Since commit c2c24819b280 ("mmc: core: Don't power off the card when
starting the host"), the power state can still be MMC_POWER_UNDEFINED after
mmc_start_host() is called. That can trigger a warning in SDHCI during
runtime resume as it tries to restore the I/O state. Handle
MMC_POWER_UNDEFINED simply by not updating the I/O state in that case.
Fixes: c2c24819b280 ("mmc: core: Don't power off the card when starting the host")
Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
Diffstat (limited to '.get_maintainer.ignore')
0 files changed, 0 insertions, 0 deletions