summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-01-12 09:51:18 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-19 15:16:21 +0100
commit61c6c24958934b6b226aa37b3b3a2c089189f52b (patch)
tree8cd338fe7b294b946de14dfa582cf4043314dea8
parent27940deb9a877da0fc26718344ffa8e1dfb47023 (diff)
downloadbarebox-61c6c24958934b6b226aa37b3b3a2c089189f52b.tar.gz
mci: imx-esdhc: Enable clock
For architectures which do not enable all clocks during initialization. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--drivers/mci/imx-esdhc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c
index ad749d9..19d11a5 100644
--- a/drivers/mci/imx-esdhc.c
+++ b/drivers/mci/imx-esdhc.c
@@ -630,6 +630,7 @@ static int fsl_esdhc_probe(struct device_d *dev)
host->clk = clk_get(dev, "per");
if (IS_ERR(host->clk))
return PTR_ERR(host->clk);
+ clk_enable(host->clk);
ret = clk_enable(host->clk);
if (ret) {