mmc: add a new mmc parameter to disable mmc clock
authorJean-Jacques Hiblot <jjhiblot@ti.com>
Fri, 12 May 2017 18:16:33 +0000 (20:16 +0200)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:11 +0000 (02:37 +0800)
commitcd9db7ced900ac17436ee82fa84189099ae52e0a
tree3487d5906b5e0687d05da0f1a895827b2445467b
parent432da392e941f7561eb05c7e01873341b70e8d8e
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