Re: [PATCH net v2] net: micrel: Fix lan8841_config_intr after getting out of sleep mode

From: patchwork-bot+netdevbpf
Date: Mon May 27 2024 - 20:10:41 EST


Hello:

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

On Fri, 24 May 2024 10:53:50 +0200 you wrote:
> When the interrupt is enabled, the function lan8841_config_intr tries to
> clear any pending interrupts by reading the interrupt status, then
> checks the return value for errors and then continue to enable the
> interrupt. It has been seen that once the system gets out of sleep mode,
> the interrupt status has the value 0x400 meaning that the PHY detected
> that the link was in low power. That is correct value but the problem is
> that the check is wrong. We try to check for errors but we return an
> error also in this case which is not an error. Therefore fix this by
> returning only when there is an error.
>
> [...]

Here is the summary with links:
- [net,v2] net: micrel: Fix lan8841_config_intr after getting out of sleep mode
https://git.kernel.org/netdev/net/c/4fb679040d9f

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