net: phy: DP83TC811: Fix disabling interrupts
authorDan Murphy <dmurphy@ti.com>
Fri, 29 Jun 2018 15:28:31 +0000 (10:28 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 12:13:01 +0000 (21:13 +0900)
commit713b4a33524721767703956654f4d6713c556f2b
treeded03d8c242c918e7b5ef8e5ea056701e1595d0c
parente7c7faa936680a2f0e78fc6d9683a5728421a150
net: phy: DP83TC811: Fix disabling interrupts

Fix a bug where INT_STAT1 was written twice and
INT_STAT2 was ignored when disabling interrupts.

Fixes: b753a9faaf9a ("net: phy: DP83TC811: Introduce support for the DP83TC811 phy")
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/dp83tc811.c