From patchwork Sun Dec 24 09:32:09 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Christoph Niedermaier X-Patchwork-Id: 758579 Received: from mx3.securetransport.de (mx3.securetransport.de [116.203.31.6]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2938017C1 for ; Sun, 24 Dec 2023 09:35:27 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=dh-electronics.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=dh-electronics.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=dh-electronics.com header.i=@dh-electronics.com header.b="R6VfIM4L" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dh-electronics.com; s=dhelectronicscom; t=1703410442; bh=kcBqw6AovDSUWhP3RKm3CcmC3+Imyp5KfdTj22Ed0pE=; h=From:To:CC:Subject:Date:From; b=R6VfIM4Lx6sVOUUUBON2UwY4W1rBjcppbMl+TQtBWVHveTMDSyqRJmi+vkIQAXRgF wv6ufLtmYIJhokaoYxY3LUVxv/OdUmc7HMm83pS4iQK0ajUHFEhMhMarMxySJ/WMsz C+qHF1IZ80zW7zXFbDu3KTf5bmJWASV92+kjakY4BbUVuaFiC92cq3L/breNRvHHpG Z2+ciBSbS1IlhaLLPuAYkAKgXBrWOjTSejjPvxSS2/lywEcNrQJX+X2gZljwzP1E9W UmI4nFE/G9RBNsvlCSc92Zw4EFoPV1JzSw35lufn3syLi/KiTrC9RQtsj/RBa5DiEC +nwtxWQgTnxfw== From: Christoph Niedermaier To: , CC: Christoph Niedermaier , "Greg Kroah-Hartman" , Jiri Slaby , Shawn Guo , Marek Vasut , Fabio Estevam , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , Sergey Organov , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , "Rob Herring" , =?utf-8?q?Ilpo_J=C3=A4rvinen?= , Tom Rix , Thomas Gleixner Subject: [PATCH V2] serial: imx: Correct clock error message in function probe() Date: Sun, 24 Dec 2023 10:32:09 +0100 Message-ID: <20231224093209.2612-1-cniedermaier@dh-electronics.com> X-klartext: yes Precedence: bulk X-Mailing-List: linux-serial@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 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 Reviewed-by: Uwe Kleine-König --- Cc: Greg Kroah-Hartman Cc: Jiri Slaby Cc: Shawn Guo Cc: Marek Vasut Cc: Fabio Estevam Cc: Sascha Hauer Cc: Pengutronix Kernel Team Cc: NXP Linux Team Cc: Sergey Organov Cc: "Uwe Kleine-König" Cc: Rob Herring Cc: "Ilpo Järvinen" Cc: Tom Rix Cc: Thomas Gleixner To: linux-serial@vger.kernel.org To: linux-arm-kernel@lists.infradead.org --- V2: - Add Fixes tag - Add Reviewed-by tag --- drivers/tty/serial/imx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }