Re: [PATCH 1/2] net: phy: DP83TC811: Add INT_STAT3

2018-06-28 Thread Andrew Lunn
> Yes I was debating whether to include this change in the patch or have it > stand alone for stable back port. > > I will pull it out and cc stable No need to CC stable. Base the patch on daveM net branch, and David will do the rest. You probably want to wait a week or two before sending the ot

Re: [PATCH 1/2] net: phy: DP83TC811: Add INT_STAT3

2018-06-28 Thread Dan Murphy
Andrew On 06/28/2018 03:16 AM, Andrew Lunn wrote: >> err = phy_write(phydev, MII_DP83811_INT_STAT1, 0); >> if (err < 0) >> return err; >> >> -err = phy_write(phydev, MII_DP83811_INT_STAT1, 0); >> +err = phy_write(phydev, MII_

Re: [PATCH 1/2] net: phy: DP83TC811: Add INT_STAT3

2018-06-28 Thread Andrew Lunn
> err = phy_write(phydev, MII_DP83811_INT_STAT1, 0); > if (err < 0) > return err; > > - err = phy_write(phydev, MII_DP83811_INT_STAT1, 0); > + err = phy_write(phydev, MII_DP83811_INT_STAT2, 0); > + if (err < 0)

[PATCH 1/2] net: phy: DP83TC811: Add INT_STAT3

2018-06-27 Thread Dan Murphy
Add INT_STAT3 interrupt setting and clearing. Also fixed writing to INT_STAT2 when disabling the interrupts as there was a double write to INT_STAT1. Signed-off-by: Dan Murphy --- drivers/net/phy/dp83tc811.c | 28 +++- 1 file changed, 27 insertions(+), 1 deletion(-) dif