]> git.ipfire.org Git - people/ms/u-boot.git/commit - drivers/mmc/mmc.c
mmc: add a new mmc parameter to disable mmc clock
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 21 Sep 2017 14:30:03 +0000 (16:30 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 12 Jan 2018 09:11:04 +0000 (18:11 +0900)
commit35f6782055c99410fbeae33ab28ea68de154360c
treea9687137937bbd349e0d72e6e73de756e809d0c7
parentfb7c3beb5178e5c81a00642e71a4b73427b52429
mmc: add a new mmc parameter to disable mmc clock

mmc clock has to be disabled in certain cases like during
the voltage switch sequence. Modify mmc_set_clock function
to take disable as an argument that signifies if the
clock has to be enabled or disabled.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
drivers/mmc/fsl_esdhc.c
drivers/mmc/mmc.c
include/mmc.h