summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-01-12 09:51:34 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-01-19 15:16:25 +0100
commit1bcd04831eaa2e05fece0eb0c604516bdd242d6a (patch)
tree77170019210f7696993d6a90c1b786550641b749
parent61c6c24958934b6b226aa37b3b3a2c089189f52b (diff)
downloadbarebox-1bcd04831eaa2e05fece0eb0c604516bdd242d6a.tar.gz
serial: i.MX: 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/serial/serial_imx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/serial/serial_imx.c b/drivers/serial/serial_imx.c
index 2b1e5e0..c15ab86 100644
--- a/drivers/serial/serial_imx.c
+++ b/drivers/serial/serial_imx.c
@@ -228,6 +228,7 @@ static int imx_serial_probe(struct device_d *dev)
ret = PTR_ERR(priv->clk);
goto err_free;
}
+ clk_enable(priv->clk);
iores = dev_request_mem_resource(dev, 0);
if (IS_ERR(iores))