Re: [PATCH] phy: adjust function name reference
From: Daniel Golle <daniel@makrotopia.org>
Date: 2025-12-30 17:15:04
Also in:
linux-arm-kernel, linux-mediatek, linux-phy, lkml
From: Daniel Golle <daniel@makrotopia.org>
Date: 2025-12-30 17:15:04
Also in:
linux-arm-kernel, linux-mediatek, linux-phy, lkml
On Tue, Dec 30, 2025 at 03:06:01PM +0100, Julia Lawall wrote:
There is no function clk_bulk_prepare_disable. Refer instead to clk_bulk_disable_unprepare, which is called in the function defined just below. Signed-off-by: Julia Lawall <Julia.Lawall@inria.fr>
Thanks for spotting this obviously wrong comment! Reviewed-by: Daniel Golle <daniel@makrotopia.org>
--- drivers/phy/mediatek/phy-mtk-xfi-tphy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)diff --git a/drivers/phy/mediatek/phy-mtk-xfi-tphy.c b/drivers/phy/mediatek/phy-mtk-xfi-tphy.c index 1a0b7484f525..100a50d0e861 100644 --- a/drivers/phy/mediatek/phy-mtk-xfi-tphy.c +++ b/drivers/phy/mediatek/phy-mtk-xfi-tphy.c@@ -353,7 +353,7 @@ static int mtk_xfi_tphy_power_on(struct phy *phy) * Disable and unprepare all clocks previously enabled. * * Return: - * See clk_bulk_prepare_disable(). + * See clk_bulk_disable_unprepare(). */ static int mtk_xfi_tphy_power_off(struct phy *phy) {