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:
parent
27940deb9a
commit
61c6c24958
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue