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)
commitbfac8c490d605bea03b1f1927582b6f396462164
treeff4505ab3c0cf8d2aa17a44b589bd6013af8a7c9
parent4f1dd48f403149dc720a24c54120749433c4b984
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