diff options
author | Lukas Wunner <lukas@wunner.de> | 2022-06-20 11:28:39 +0200 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-06-22 06:55:09 +0200 |
commit | b1f01b4bd7ad7f642d896cb9d6f82ec34043b612 (patch) | |
tree | b4e096f3f087ef42f4e31fc9f998e84355cb8a7c /kernel | |
parent | Merge branch 'net-dsa-microchip-common-spi-probe-for-the-ksz-series-switches-... (diff) | |
download | linux-b1f01b4bd7ad7f642d896cb9d6f82ec34043b612.tar.xz linux-b1f01b4bd7ad7f642d896cb9d6f82ec34043b612.zip |
net: phy: smsc: Deduplicate interrupt acknowledgement upon phy_init_hw()
Since commit 4c0d2e96ba05 ("net: phy: consider that suspend2ram may cut
off PHY power"), phy_init_hw() invokes both, the ->config_init() and
->config_intr() callbacks.
In the SMSC PHY driver, the latter acknowledges stale interrupts, hence
there's no longer a need to acknowledge them in the former as well.
There are no other callers of ->config_init() besides phy_init_hw().
Drop the redundant code.
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Link: https://lore.kernel.org/r/0254edf48bddc96c6248c4414043a3699e94614a.1655716767.git.lukas@wunner.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions