]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit9927a8078632249f7e213e55ba94ea10ab6068e5
treeb732623e465dfbea31110fe84ebf2fcb3b73210f
parentb05d2fe78c3838ea5feb8acc22fd8b948f9b2c2a
net: phy: fix wrong masks to phy_modify()

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

Fixes: 9799ed22fc90 ("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