aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/tmio_mmc_pio.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/mmc/host/tmio_mmc_pio.c b/drivers/mmc/host/tmio_mmc_pio.c
index e1aed255512..69772ab3ca2 100644
--- a/drivers/mmc/host/tmio_mmc_pio.c
+++ b/drivers/mmc/host/tmio_mmc_pio.c
@@ -746,20 +746,20 @@ static void tmio_mmc_set_ios(struct mmc_host *mmc, struct mmc_ios *ios)
746 if (ios->clock) 746 if (ios->clock)
747 tmio_mmc_set_clock(host, ios->clock); 747 tmio_mmc_set_clock(host, ios->clock);
748 748
749 /* Power sequence - OFF -> ON -> UP */ 749 /* Power sequence - OFF -> UP -> ON */
750 switch (ios->power_mode) { 750 switch (ios->power_mode) {
751 case MMC_POWER_OFF: /* power down SD bus */ 751 case MMC_POWER_OFF: /* power down SD bus */
752 if (host->set_pwr) 752 if (host->set_pwr)
753 host->set_pwr(host->pdev, 0); 753 host->set_pwr(host->pdev, 0);
754 tmio_mmc_clk_stop(host); 754 tmio_mmc_clk_stop(host);
755 break; 755 break;
756 case MMC_POWER_ON: /* power up SD bus */ 756 case MMC_POWER_ON: /* start bus clock */
757 tmio_mmc_clk_start(host);
758 break;
759 case MMC_POWER_UP: /* power up SD bus */
757 if (host->set_pwr) 760 if (host->set_pwr)
758 host->set_pwr(host->pdev, 1); 761 host->set_pwr(host->pdev, 1);
759 break; 762 break;
760 case MMC_POWER_UP: /* start bus clock */
761 tmio_mmc_clk_start(host);
762 break;
763 } 763 }
764 764
765 switch (ios->bus_width) { 765 switch (ios->bus_width) {