mmc: disable the mmc clock during power off
authorKishon Vijay Abraham I <kishon@ti.com>
Thu, 21 Sep 2017 14:30:04 +0000 (16:30 +0200)
committerJaehoon Chung <jh80.chung@samsung.com>
Fri, 12 Jan 2018 09:11:04 +0000 (18:11 +0900)
commit2e7410d76ad11856d09284c18d262d0bb2a3da0c
treeb9b778cf50594bb1c4449ba341037815e24256f1
parent35f6782055c99410fbeae33ab28ea68de154360c
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