mmc: omap_hsmmc: allow mmc clock to be gated
authorKishon Vijay Abraham I <kishon@ti.com>
Tue, 30 Jan 2018 15:01:45 +0000 (16:01 +0100)
committerJaehoon Chung <jh80.chung@samsung.com>
Mon, 19 Feb 2018 07:58:55 +0000 (16:58 +0900)
commit90321dce0da1ba0844a7066a1034cdf73b8613c6
tree01ff706f383a4f00d7afb1e09d8556eeb2cff1a6
parent42182c9b9ca946b68f564936ffc181b75ce3da9f
mmc: omap_hsmmc: allow mmc clock to be gated

mmc core has defined a new parameter *clk_disable* to gate the clock.
Disable the clock here if *clk_disable* is set.

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