[PATCH 06/23] mci: imx-esdhc: Enable clock

Sascha Hauer s.hauer at pengutronix.de
Mon Jan 16 02:50:51 PST 2017


For architectures which do not enable all clocks during initialization.

Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/mci/imx-esdhc.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mci/imx-esdhc.c b/drivers/mci/imx-esdhc.c
index 951ac4501..c845187a5 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);
 
 	host->dev = dev;
 	iores = dev_request_mem_resource(dev, 0);
-- 
2.11.0




More information about the barebox mailing list