Skip to content

Commit 8cc6838

Browse files
committed
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 <kuba@kernel.org>
2 parents 3b9bc84 + 0e597e2 commit 8cc6838

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

drivers/net/phy/dp83822.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,7 @@ static int dp83822_config_intr(struct phy_device *phydev)
229229
if (misr_status < 0)
230230
return misr_status;
231231

232-
misr_status |= (DP83822_RX_ERR_HF_INT_EN |
233-
DP83822_FALSE_CARRIER_HF_INT_EN |
234-
DP83822_LINK_STAT_INT_EN |
232+
misr_status |= (DP83822_LINK_STAT_INT_EN |
235233
DP83822_ENERGY_DET_INT_EN |
236234
DP83822_LINK_QUAL_INT_EN);
237235

0 commit comments

Comments
 (0)