net: phy: DP83TC811: Fix diabling interrupts
Subsystems (3)
PATCH v2 1/1 net: phy: DP83TC811: Fix diabling interrupts
Fix a bug where INT_STAT1 was written twice andINT_STAT2 was ignored when disabling interrupts.
Fixes b753a9faaf9a ("net: phy: DP83TC811: Introduce support for the DP83TC811 phy")
Reviewed-by Andrew Lunn <[email protected]>
Signed-off-by Dan Murphy <[email protected]>
---
v2 - Updated commit message to add the Fixes - http://lists.openwall.net/netdev/2018/06/28/110
drivers/net/phy/dp83tc811.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/phy/dp83tc811.c +1 -1
@@ -222,7 +222,7 @@ static int dp83811_config_intr(struct phy_device *phydev)if (err <0 )return err; - err =phy_write (phydev,MII_DP83811_INT_STAT1 ,0 ); + err =phy_write (phydev,MII_DP83811_INT_STAT2 ,0 ); }return err;
Signature · 1 line
2.17.0.582.gccdcbd54c
Hello!
Quoted 2 lines · Dan Murphy
Fix a bug where
INT_STAT1was written twice andINT_STAT2was ignored when disabling interrupts.
^^^^^^^^^
Correct here, but typo in the subject.
Quoted 3 lines
Fixes b753a9faaf9a ("net: phy: DP83TC811: Introduce support for the DP83TC811 phy")Reviewed-by Andrew Lunn <[email protected]>Signed-off-by Dan Murphy <[email protected]>
[...]
MBR, Sergei