]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
sh_eth: Use async pm_runtime_put()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 4 Sep 2025 15:18:58 +0000 (17:18 +0200)
committerJakub Kicinski <kuba@kernel.org>
Sat, 6 Sep 2025 01:16:07 +0000 (18:16 -0700)
commitae52c3e846e1800f7798a72706e093b97822eff6
treecae0c41cafa7c166a2f6a3c0ba2a89bd11fe8722
parent3406114a303ea37a92dc32be0e75095a78e7a92b
sh_eth: Use async pm_runtime_put()

There is no stringent need to power down the device immediately after a
register read, or after a failed open.  Relax power down handling by
replacing calls to synchronous pm_runtime_put_sync() by calls to
asynchronous pm_runtime_put().

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Tested-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Link: https://patch.msgid.link/77562617360e30a47746e53e392905ea312a2f97.1756998732.git.geert+renesas@glider.be
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/renesas/sh_eth.c