[PATCH 07/23] serial: i.MX: Enable clock
Sascha Hauer
s.hauer at pengutronix.de
Mon Jan 16 02:50:52 PST 2017
For architectures which do not enable all clocks during initialization.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/serial/serial_imx.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/serial/serial_imx.c b/drivers/serial/serial_imx.c
index 2b1e5e07a..c15ab8630 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))
--
2.11.0
More information about the barebox
mailing list