mmc: disable the mmc clock during power off
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 12 May 2017 18:16:34 +0000 (20:16 +0200)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:37:11 +0000 (02:37 +0800)
commit55d5139439b53c0ee9419831cd430b3706ce9125
tree55af88d1b16da466b8b661473ee373255f95e73f
parentcd9db7ced900ac17436ee82fa84189099ae52e0a
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: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Vignesh R <vigneshr@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/mmc/mmc.c