mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-09 22:50:41 +00:00
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>
This commit is contained in:
parent
f063548046
commit
3e189470ca
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user