diff options
Diffstat (limited to 'drivers/mmc/core/mmc.c')
| -rw-r--r-- | drivers/mmc/core/mmc.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/mmc/core/mmc.c b/drivers/mmc/core/mmc.c index c1de6817b02..d3d24c49357 100644 --- a/drivers/mmc/core/mmc.c +++ b/drivers/mmc/core/mmc.c @@ -1532,8 +1532,6 @@ static int mmc_suspend(struct mmc_host *host) err = mmc_card_sleep(host); else if (!mmc_host_is_spi(host)) mmc_deselect_cards(host); - - mmc_card_set_sleep(host->card); host->card->state &= ~(MMC_STATE_HIGHSPEED | MMC_STATE_HIGHSPEED_200); out: @@ -1554,7 +1552,6 @@ static int mmc_resume(struct mmc_host *host) BUG_ON(!host); BUG_ON(!host->card); - mmc_card_clr_sleep(host->card); mmc_claim_host(host); err = mmc_init_card(host, host->ocr, host->card); mmc_release_host(host); @@ -1577,7 +1574,6 @@ static int mmc_power_restore(struct mmc_host *host) mmc_disable_clk_scaling(host); host->card->state &= ~(MMC_STATE_HIGHSPEED | MMC_STATE_HIGHSPEED_200); - mmc_card_clr_sleep(host->card); mmc_claim_host(host); ret = mmc_init_card(host, host->ocr, host->card); mmc_release_host(host); |
