]> www.infradead.org Git - users/dwmw2/linux.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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Oct 2022 08:41:17 +0000 (09:41 +0100)
commit35c92435be76acdd544c834ae734b88d08e91e0e
tree9634b98c390e0c85017b459ba1bec63ac383358a
parent7aa3d623c11b9ab60f86b7833666e5d55bac4be9
net: phy: dp83822: disable MDI crossover status change interrupt

[ Upstream commit 7f378c03aa4952507521174fb0da7b24a9ad0be6 ]

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: 87461f7a58ab ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/phy/dp83822.c