]> git.baikalelectronics.ru Git - kernel.git/commit
net: phylink: disable PCS polling over major configuration
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 27 Jun 2022 11:44:43 +0000 (12:44 +0100)
committerJakub Kicinski <kuba@kernel.org>
Wed, 29 Jun 2022 04:30:09 +0000 (21:30 -0700)
commitd4fe1494756c006ea689beed130433e363c48528
treeff4505ab3c0cf8d2aa17a44b589bd6013af8a7c9
parent108e9a47c85d50990a1366453a0220c2dd452c89
net: phylink: disable PCS polling over major configuration

While we are performing a major configuration, there is no point having
the PCS polling timer running. Stop it before we begin preparing for
the configuration change, and restart it only once we've successfully
completed the change.

Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/phylink.c