Skip to content
Commit 9546eb92 authored by Jaehoon Chung's avatar Jaehoon Chung
Browse files

mmc: fix the wrong disabling clock



When power is off, clock is not disabling.
Because it's passed to 1, mmc->clock should be set to f_min value.
Some drivers can't initialize the eMMC/SD card with current status.

This patch is to fix the disabling clock value to 0.

Fixes: 2e7410d7 ("mmc: disable the mmc clock during power off")

Signed-off-by: default avatarJaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: default avatarJean-Jacques Hiblot <jjhiblot@ti.com>
Tested-by: default avatarGuillaume GARDET <guillaume.gardet@free.fr>
Tested-by: default avatarAnand Moon <linux.amoon@gmail.com>
parent 61f2e5ee
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment