]> git.dujemihanovic.xyz Git - u-boot.git/commit
mmc: fix the wrong disabling clock
authorJaehoon Chung <jh80.chung@samsung.com>
Wed, 17 Jan 2018 10:36:58 +0000 (19:36 +0900)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 22 Jan 2018 05:15:34 +0000 (14:15 +0900)
commit9546eb92cb648a8bba0aa9d5930ac751e6e5b9a4
treed50b16f84d44b49fcea1840f39f05df16fb66289
parent61f2e5ee12895a2bdaeac8dd13e8d7f50ca7e375
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: 2e7410d76ad1 ("mmc: disable the mmc clock during power off")
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Reviewed-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Tested-by: Guillaume GARDET <guillaume.gardet@free.fr>
Tested-by: Anand Moon <linux.amoon@gmail.com>
drivers/mmc/mmc.c