[PATCH 03/11] serial: i.MX: Use "per" clk
Sascha Hauer
s.hauer at pengutronix.de
Wed Nov 26 08:29:46 PST 2014
Which is the correct clock for the baud rate.
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
drivers/serial/serial_imx.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/serial/serial_imx.c b/drivers/serial/serial_imx.c
index e379f29..21189cb 100644
--- a/drivers/serial/serial_imx.c
+++ b/drivers/serial/serial_imx.c
@@ -324,7 +324,7 @@ static int imx_serial_probe(struct device_d *dev)
cdev = &priv->cdev;
dev->priv = priv;
- priv->clk = clk_get(dev, NULL);
+ priv->clk = clk_get(dev, "per");
if (IS_ERR(priv->clk)) {
ret = PTR_ERR(priv->clk);
goto err_free;
--
2.1.3
More information about the barebox
mailing list