summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorChristoph Niedermaier <cniedermaier@dh-electronics.com>2023-12-24 10:32:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-01-04 16:20:56 +0100
commit3e189470cad27d41a3a9dc02649f965b7ed1c90f (patch)
tree54dbaa85c0eb3d93e9efd9cf4fc998c61969775c /drivers/tty
parentf0635480462f3fd03953b2af2ea8d3229e2a7e08 (diff)
downloadlinux-3e189470cad27d41a3a9dc02649f965b7ed1c90f.tar.gz
linux-3e189470cad27d41a3a9dc02649f965b7ed1c90f.tar.bz2
linux-3e189470cad27d41a3a9dc02649f965b7ed1c90f.zip
serial: imx: Correct clock error message in function probe()
Correct the clock error message by changing the clock name. Fixes: 1e512d45332b ("serial: imx: add error messages when .probe fails") Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com> Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de> Link: https://lore.kernel.org/r/20231224093209.2612-1-cniedermaier@dh-electronics.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/imx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/imx.c b/drivers/tty/serial/imx.c
index e7e952bb7bb8..55105a4b1af8 100644
--- a/drivers/tty/serial/imx.c
+++ b/drivers/tty/serial/imx.c
@@ -2327,7 +2327,7 @@ static int imx_uart_probe(struct platform_device *pdev)
/* For register access, we only need to enable the ipg clock. */
ret = clk_prepare_enable(sport->clk_ipg);
if (ret) {
- dev_err(&pdev->dev, "failed to enable per clk: %d\n", ret);
+ dev_err(&pdev->dev, "failed to enable ipg clk: %d\n", ret);
return ret;
}