drivers/phy/mediatek/phy-mtk-xfi-tphy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
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>
---
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)
{
On Tue, 30 Dec 2025 15:06:01 +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.
>
>
Applied, thanks!
[1/1] phy: adjust function name reference
commit: 6c1cdea6bafea96a818181e1289e22fbdc09f1d3
Best regards,
--
~Vinod
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)
> {
>
>
© 2016 - 2026 Red Hat, Inc.