Re: bcm63xx_enet: Use devm_clk_get_enabled() in two probe functions

From: Markus Elfring

Date: Thu Nov 26 2026 - 12:37:36 EST


>>> Your patch is related to bcm_enet_probe().
>>>
>>> See L1754 and L1791. These 2 calls are related to 2 clk_disable_unprepare() calls in the error handling path and in the remove function.
>>>
>>> Why only update one place, and keep one clk_disable_unprepare()?
>>
>> The ungating of the item “priv->phy_clk” depends on special condition checks.
>
> This does not answer the question.
Would you find further clarification approaches more helpful according to
unbalanced clk_disable_unprepare() calls?

Regards,
Markus