Commit 55d51394 authored by Kishon Vijay Abraham I's avatar Kishon Vijay Abraham I Committed by Jason Liu

mmc: disable the mmc clock during power off

There is no point in having the mmc clock enabled during
power off. Disable the mmc clock. This is similar to how it's
programmed in Linux Kernel.
Signed-off-by: default avatarKishon Vijay Abraham I <>
Signed-off-by: default avatarVignesh R <>
Signed-off-by: default avatarJean-Jacques Hiblot <>
Reviewed-by: default avatarSimon Glass <>
parent cd9db7ce
......@@ -1943,6 +1943,7 @@ static void mmc_power_up(struct mmc *mmc)
static void mmc_power_off(struct mmc *mmc)
mmc_set_vdd(mmc, false);
mmc_set_clock(mmc, 1, true);
static void mmc_power_cycle(struct mmc *mmc)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment