From: xiaoyao Date: Wed, 9 Mar 2016 06:10:52 +0000 (+0800) Subject: mmc: sdio: call mmc_power_cycle before re-init sdio devices X-Git-Tag: firefly_0821_release~3234 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=b01b93bf4efed51a96c8c6ce3f8a29ee3b10ed4a;p=firefly-linux-kernel-4.4.55.git mmc: sdio: call mmc_power_cycle before re-init sdio devices Change-Id: I4ae9bb385c9235eb184de0f3bf06719b056f4842 Signed-off-by: xiaoyao --- diff --git a/drivers/mmc/core/sdio.c b/drivers/mmc/core/sdio.c index b67ec30086e0..fa69d2fc5c5b 100644 --- a/drivers/mmc/core/sdio.c +++ b/drivers/mmc/core/sdio.c @@ -1231,6 +1231,7 @@ int sdio_reset_comm(struct mmc_card *card) mmc_retune_disable(host); + mmc_power_cycle(host, host->card->ocr); mmc_go_idle(host); mmc_set_clock(host, host->f_min);