diff mbox series

serial: imx: Correct clock error message in function probe()

Message ID 20231222220216.2188-1-cniedermaier@dh-electronics.com
State Superseded
Headers show
Series serial: imx: Correct clock error message in function probe() | expand

Commit Message

Christoph Niedermaier Dec. 22, 2023, 10:02 p.m. UTC
Correct the clock error message by changing the clock name.

Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>
---
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jiri Slaby <jirislaby@kernel.org>
Cc: Shawn Guo <shawnguo@kernel.org>
Cc: Marek Vasut <marex@denx.de>
Cc: Fabio Estevam <festevam@denx.de>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Pengutronix Kernel Team <kernel@pengutronix.de>
Cc: NXP Linux Team <linux-imx@nxp.com>
Cc: Sergey Organov <sorganov@gmail.com>
Cc: "Uwe Kleine-König" <u.kleine-koenig@pengutronix.de>
Cc: Rob Herring <robh@kernel.org>
Cc: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
Cc: Tom Rix <trix@redhat.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
To: linux-serial@vger.kernel.org
To: linux-arm-kernel@lists.infradead.org
---
 drivers/tty/serial/imx.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Marek Vasut Dec. 22, 2023, 10:21 p.m. UTC | #1
On 12/22/23 23:02, Christoph Niedermaier wrote:
> Correct the clock error message by changing the clock name.
> 
> Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>

Fixes: tag missing ?
Uwe Kleine-König Dec. 23, 2023, 7:59 a.m. UTC | #2
Hello,

On Fri, Dec 22, 2023 at 11:02:16PM +0100, Christoph Niedermaier wrote:
> Correct the clock error message by changing the clock name.
> 
> Signed-off-by: Christoph Niedermaier <cniedermaier@dh-electronics.com>

Fixes: 1e512d45332b ("serial: imx: add error messages when .probe fails")
Reviewed-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>

Thanks
Uwe
diff mbox series

Patch

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;
 	}