|
@@ -1971,6 +1971,7 @@ static int mmc_power_on(struct mmc *mmc)
|
|
|
|
|
|
static int mmc_power_off(struct mmc *mmc)
|
|
static int mmc_power_off(struct mmc *mmc)
|
|
{
|
|
{
|
|
|
|
+ mmc_set_clock(mmc, 1, true);
|
|
#if CONFIG_IS_ENABLED(DM_MMC) && CONFIG_IS_ENABLED(DM_REGULATOR)
|
|
#if CONFIG_IS_ENABLED(DM_MMC) && CONFIG_IS_ENABLED(DM_REGULATOR)
|
|
if (mmc->vmmc_supply) {
|
|
if (mmc->vmmc_supply) {
|
|
int ret = regulator_set_enable(mmc->vmmc_supply, false);
|
|
int ret = regulator_set_enable(mmc->vmmc_supply, false);
|