OSDN Git Service

mmc: core: Invoke mmc_pwrseq_post_power_on() prior MMC_POWER_ON state
[uclinux-h8/linux.git] / drivers / mmc / core / core.c
index 0dc64e6..23f10f7 100644 (file)
@@ -1637,6 +1637,8 @@ void mmc_power_up(struct mmc_host *host, u32 ocr)
         */
        mmc_delay(10);
 
+       mmc_pwrseq_post_power_on(host);
+
        host->ios.clock = host->f_init;
 
        host->ios.power_mode = MMC_POWER_ON;
@@ -1648,8 +1650,6 @@ void mmc_power_up(struct mmc_host *host, u32 ocr)
         */
        mmc_delay(10);
 
-       mmc_pwrseq_post_power_on(host);
-
        mmc_host_clk_release(host);
 }