9
0
Fork 0

mci: imx-esdhc: Enable clock

For architectures which do not enable all clocks during initialization.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2017-01-12 09:51:18 +01:00
parent 27940deb9a
commit 61c6c24958
1 changed files with 1 additions and 0 deletions

View File

@ -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) {