diff options
author | 2016-12-19 15:33:11 +0200 | |
---|---|---|
committer | 2016-12-20 11:42:33 +0100 | |
commit | 84ec048ba133c2a570273e90622d8fac4930553e (patch) | |
tree | fed94ab5b6b4b81a6ed669940ec25017fc330657 /net/lapb/lapb_in.c | |
parent | mmc: sdhci-cadence: add Socionext UniPhier specific compatible string (diff) | |
download | linux-dev-84ec048ba133c2a570273e90622d8fac4930553e.tar.xz linux-dev-84ec048ba133c2a570273e90622d8fac4930553e.zip |
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 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions