net: phy: fix wrong masks to phy_modify()
authorRussell King <rmk+kernel@armlinux.org.uk>
Fri, 5 Jan 2018 16:07:10 +0000 (16:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Jan 2018 19:20:21 +0000 (14:20 -0500)
commitf102852f980eac250855504c18f195900616deec
treeb732623e465dfbea31110fe84ebf2fcb3b73210f
parent64f26abb17ca2e55ab584352ca4d68cf42c8c102
net: phy: fix wrong masks to phy_modify()

The mask argument for phy_modify() in several locations was inverted.

Fixes: fea23fb591cc ("net: phy: convert read-modify-write to phy_modify()")
Reported-by: Heiner Kallweit <hkallweit1@gmail.com>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/at803x.c
drivers/net/phy/marvell.c
drivers/net/phy/phy-core.c
drivers/net/phy/phy_device.c