Re: [PATCH net] net: phy: micrel: fix clk warning when removing the driver

From: patchwork-bot+netdevbpf

Date: Wed Jan 28 2026 - 23:40:26 EST


Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Mon, 26 Jan 2026 16:15:44 +0800 you wrote:
> Since the commit 25c6a5ab151f ("net: phy: micrel: Dynamically control
> external clock of KSZ PHY"), the clock of Micrel PHY has been enabled
> by phy_driver::resume() and disabled by phy_driver::suspend(). However,
> devm_clk_get_optional_enabled() is used in kszphy_probe(), so the clock
> will automatically be disabled when the device is unbound from the bus.
> Therefore, this could cause the clock to be disabled twice, resulting
> in clk driver warnings.
>
> [...]

Here is the summary with links:
- [net] net: phy: micrel: fix clk warning when removing the driver
https://git.kernel.org/netdev/net/c/2aa1545ba8d4

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html