aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/mmc/host/sh_mmcif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mmc/host/sh_mmcif.c b/drivers/mmc/host/sh_mmcif.c
index 3ffb92fc084e..468027665ede 100644
--- a/drivers/mmc/host/sh_mmcif.c
+++ b/drivers/mmc/host/sh_mmcif.c
@@ -957,8 +957,8 @@ static void sh_mmcif_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
957 pm_runtime_put(&host->pd->dev); 957 pm_runtime_put(&host->pd->dev);
958 clk_disable(host->hclk); 958 clk_disable(host->hclk);
959 host->power = false; 959 host->power = false;
960 if (p->down_pwr && ios->power_mode == MMC_POWER_OFF) 960 if (p->set_pwr && ios->power_mode == MMC_POWER_OFF)
961 p->down_pwr(host->pd); 961 p->set_pwr(host->pd, 0);
962 } 962 }
963 host->state = STATE_IDLE; 963 host->state = STATE_IDLE;
964 return; 964 return;