[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<170928242803.14717.6883191622320150450.git-patchwork-notify@kernel.org>
Date: Fri, 01 Mar 2024 08:40:28 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Oleksij Rempel <o.rempel@...gutronix.de>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, woojung.huh@...rochip.com, kernel@...gutronix.de,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
UNGLinuxDriver@...rochip.com
Subject: Re: [PATCH net v1 1/1] net: lan78xx: fix runtime PM count underflow on
link stop
Hello:
This patch was applied to netdev/net.git (main)
by David S. Miller <davem@...emloft.net>:
On Wed, 28 Feb 2024 13:45:17 +0100 you wrote:
> Current driver has some asymmetry in the runtime PM calls. On lan78xx_open()
> it will call usb_autopm_get() and unconditionally usb_autopm_put(). And
> on lan78xx_stop() it will call only usb_autopm_put(). So far, it was
> working only because this driver do not activate autosuspend by default,
> so it was visible only by warning "Runtime PM usage count underflow!".
>
> Since, with current driver, we can't use runtime PM with active link,
> execute lan78xx_open()->usb_autopm_put() only in error case. Otherwise,
> keep ref counting high as long as interface is open.
>
> [...]
Here is the summary with links:
- [net,v1,1/1] net: lan78xx: fix runtime PM count underflow on link stop
https://git.kernel.org/netdev/net/c/1eecc7ab82c4
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html
Powered by blists - more mailing lists