Messages in this thread | | | Subject | Re: [v2][PATCH] net: phy: Don't WARN for PHY_READY state in mdio_bus_phy_resume() | From | patchwork-bot+netdevbpf@kernel ... | Date | Tue, 23 Aug 2022 01:30:14 +0000 |
| |
Hello:
This patch was applied to netdev/net.git (master) by Jakub Kicinski <kuba@kernel.org>:
On Fri, 19 Aug 2022 16:24:51 +0800 you wrote: > For some MAC drivers, they set the mac_managed_pm to true in its > ->ndo_open() callback. So before the mac_managed_pm is set to true, > we still want to leverage the mdio_bus_phy_suspend()/resume() for > the phy device suspend and resume. In this case, the phy device is > in PHY_READY, and we shouldn't warn about this. It also seems that > the check of mac_managed_pm in WARN_ON is redundant since we already > check this in the entry of mdio_bus_phy_resume(), so drop it. > > [...]
Here is the summary with links: - [v2] net: phy: Don't WARN for PHY_READY state in mdio_bus_phy_resume() https://git.kernel.org/netdev/net/c/6dbe852c379f
You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html
| |