Commit 8cc68383 authored by Jakub Kicinski's avatar Jakub Kicinski

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.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parents 3b9bc84d 0e597e2a
...@@ -229,9 +229,7 @@ static int dp83822_config_intr(struct phy_device *phydev) ...@@ -229,9 +229,7 @@ static int dp83822_config_intr(struct phy_device *phydev)
if (misr_status < 0) if (misr_status < 0)
return misr_status; return misr_status;
misr_status |= (DP83822_RX_ERR_HF_INT_EN | misr_status |= (DP83822_LINK_STAT_INT_EN |
DP83822_FALSE_CARRIER_HF_INT_EN |
DP83822_LINK_STAT_INT_EN |
DP83822_ENERGY_DET_INT_EN | DP83822_ENERGY_DET_INT_EN |
DP83822_LINK_QUAL_INT_EN); DP83822_LINK_QUAL_INT_EN);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment