[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <2181342.OBFZWjSADL@phil>
Date: Fri, 21 Mar 2025 18:08:26 +0100
From: Heiko Stuebner <heiko@...ech.de>
To: Heiko Stuebner <heiko.stuebner@...rry.de>,
Dan Carpenter <dan.carpenter@...aro.org>
Cc: Vinod Koul <vkoul@...nel.org>, Kishon Vijay Abraham I <kishon@...nel.org>,
Sebastian Reichel <sebastian.reichel@...labora.com>,
linux-phy@...ts.infradead.org, linux-arm-kernel@...ts.infradead.org,
linux-rockchip@...ts.infradead.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH next] phy: rockchip-samsung-dcphy: Add missing assignment
Hey Dan,
Am Freitag, 21. März 2025, 15:36:14 MEZ schrieb Dan Carpenter:
> The "ret = " was accidentally dropped so the error handling doesn't work.
>
> Fixes: b2a1a2ae7818 ("phy: rockchip: Add Samsung MIPI D-/C-PHY driver")
> Signed-off-by: Dan Carpenter <dan.carpenter@...aro.org>
oh darn ... thanks so much for catching that
Reviewed-by: Heiko Stuebner <heiko@...ech.de>
> ---
> drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c b/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c
> index 08c78c1bafc9..28a052e17366 100644
> --- a/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c
> +++ b/drivers/phy/rockchip/phy-rockchip-samsung-dcphy.c
> @@ -1653,7 +1653,7 @@ static __maybe_unused int samsung_mipi_dcphy_runtime_resume(struct device *dev)
> return ret;
> }
>
> - clk_prepare_enable(samsung->ref_clk);
> + ret = clk_prepare_enable(samsung->ref_clk);
> if (ret) {
> dev_err(samsung->dev, "Failed to enable reference clock, %d\n", ret);
> clk_disable_unprepare(samsung->pclk);
>
Powered by blists - more mailing lists