summaryrefslogtreecommitdiffstats
path: root/drivers/serial/serial_imx.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2014-11-26 15:51:02 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2014-11-27 11:25:02 +0100
commit6ed8916e900a118bac11bb209f2432e25fab10d4 (patch)
tree49775243727d00e00b84a945f5765da289309ce9 /drivers/serial/serial_imx.c
parent9e7c0e3176816cfa9025dbcd53ab7ba34a63e193 (diff)
downloadbarebox-6ed8916e900a118bac11bb209f2432e25fab10d4.tar.gz
serial: i.MX: Use "per" clk
Which is the correct clock for the baud rate. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers/serial/serial_imx.c')
-rw-r--r--drivers/serial/serial_imx.c2
1 files changed, 1 insertions, 1 deletions
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;