]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: dp83822: disable MDI crossover status change interrupt
authorFelix Riemann <felix.riemann@sma.de>
Tue, 18 Oct 2022 10:47:54 +0000 (12:47 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 20 Oct 2022 01:46:17 +0000 (18:46 -0700)
commite4752d5c6aad516072389f2d2c32d72a0620fdaf
tree0a8af85a8fee149d3b559f78b04325048c185227
parent8050e7c59631945886761cb011d683c88bfd7345
net: phy: dp83822: disable MDI crossover status change interrupt

If the cable is disconnected the PHY seems to toggle between MDI and
MDI-X modes. With the MDI crossover status interrupt active this causes
roughly 10 interrupts per second.

As the crossover status isn't checked by the driver, the interrupt can
be disabled to reduce the interrupt load.

Fixes: 60ce3f0822f5 ("net: phy: DP83822 initial driver submission")
Signed-off-by: Felix Riemann <felix.riemann@sma.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://lore.kernel.org/r/20221018104755.30025-1-svc.sw.rte.linux@sma.de
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/dp83822.c