diff options
author | Jakub Kicinski <[email protected]> | 2022-06-24 16:33:44 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-06-24 16:33:45 -0700 |
commit | 8cc683833726912498130a0130fc3bd0d169ef59 (patch) | |
tree | ca5e0ab189ef26fe7e2b61462b289f8e2ce5dadf | |
parent | 3b9bc84d311104906d2b4995a9a02d7b7ddab2db (diff) | |
parent | 0e597e2affb90d6ea48df6890d882924acf71e19 (diff) |
Merge branch 'net-dp83822-fix-interrupt-floods'
Enguerrand de Ribaucourt says:
====================
net: dp83822: fix interrupt floods
The false carrier and RX error counters, once half full, produce interrupt
floods. Since we do not use these counters, these interrupts should be disabled.
====================
Link: https://lore.kernel.org/r/20220623134645.1858361-1-enguerrand.de-ribaucourt@savoirfairelinux.com
Signed-off-by: Jakub Kicinski <[email protected]>
-rw-r--r-- | drivers/net/phy/dp83822.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/net/phy/dp83822.c b/drivers/net/phy/dp83822.c index e6ad3a494d32..8549e0e356c9 100644 --- a/drivers/net/phy/dp83822.c +++ b/drivers/net/phy/dp83822.c @@ -229,9 +229,7 @@ static int dp83822_config_intr(struct phy_device *phydev) if (misr_status < 0) return misr_status; - misr_status |= (DP83822_RX_ERR_HF_INT_EN | - DP83822_FALSE_CARRIER_HF_INT_EN | - DP83822_LINK_STAT_INT_EN | + misr_status |= (DP83822_LINK_STAT_INT_EN | DP83822_ENERGY_DET_INT_EN | DP83822_LINK_QUAL_INT_EN); |