summaryrefslogtreecommitdiff
path: root/net/lapb/lapb_in.c
diff options
context:
space:
mode:
authorAdrian Hunter <adrian.hunter@intel.com>2016-12-19 15:33:11 +0200
committerUlf Hansson <ulf.hansson@linaro.org>2016-12-20 11:42:33 +0100
commit84ec048ba133c2a570273e90622d8fac4930553e (patch)
treefed94ab5b6b4b81a6ed669940ec25017fc330657 /net/lapb/lapb_in.c
parent5b311c1519c658bf06f7a08a2ddc2648e4c9cd5c (diff)
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