For architectures which do not enable all clocks during initialization.

Signed-off-by: Sascha Hauer <[email protected]>
---
 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


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

Reply via email to