[PATCH] phy: qcom: m31-eusb2: Fix the error log while enabling clock

Prashanth K posted 1 patch 1 month, 1 week ago
drivers/phy/qualcomm/phy-qcom-m31-eusb2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] phy: qcom: m31-eusb2: Fix the error log while enabling clock
Posted by Prashanth K 1 month, 1 week ago
While enabling clock, we incorrectly log 'ref clk' as 'cfg ahb clk'
Fix this since the devicetree bindings mentions it as ref clock.

Signed-off-by: Prashanth K <prashanth.k@oss.qualcomm.com>
---
 drivers/phy/qualcomm/phy-qcom-m31-eusb2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/phy/qualcomm/phy-qcom-m31-eusb2.c b/drivers/phy/qualcomm/phy-qcom-m31-eusb2.c
index bf32572566c4..0a0d2d9fc846 100644
--- a/drivers/phy/qualcomm/phy-qcom-m31-eusb2.c
+++ b/drivers/phy/qualcomm/phy-qcom-m31-eusb2.c
@@ -196,7 +196,7 @@ static int m31eusb2_phy_init(struct phy *uphy)
 
 	ret = clk_prepare_enable(phy->clk);
 	if (ret) {
-		dev_err(&uphy->dev, "failed to enable cfg ahb clock, %d\n", ret);
+		dev_err(&uphy->dev, "failed to enable ref clock, %d\n", ret);
 		goto disable_repeater;
 	}
 
-- 
2.25.1
Re: [PATCH] phy: qcom: m31-eusb2: Fix the error log while enabling clock
Posted by Vinod Koul 1 month ago
On Tue, 26 Aug 2025 16:22:54 +0530, Prashanth K wrote:
> While enabling clock, we incorrectly log 'ref clk' as 'cfg ahb clk'
> Fix this since the devicetree bindings mentions it as ref clock.
> 
> 

Applied, thanks!

[1/1] phy: qcom: m31-eusb2: Fix the error log while enabling clock
      commit: 616fe247bdce4e3a23e3ded4b3be951001ed8039

Best regards,
-- 
~Vinod