summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/phy_device.c
diff options
context:
space:
mode:
authorHeiner Kallweit2019-02-10 19:58:49 +0100
committerDavid S. Miller2019-02-10 21:53:18 +0100
commitb06d8e5a5dcc21063a0a84658b7106f40aa400e4 (patch)
treecbb3d6f5b2c8f54922850507a0c40983e8967625 /drivers/net/phy/phy_device.c
parentnet: phy: add register modifying helpers returning 1 on change (diff)
downloadkernel-qcow2-linux-b06d8e5a5dcc21063a0a84658b7106f40aa400e4.tar.gz
kernel-qcow2-linux-b06d8e5a5dcc21063a0a84658b7106f40aa400e4.tar.xz
kernel-qcow2-linux-b06d8e5a5dcc21063a0a84658b7106f40aa400e4.zip
net: phy: marvell10g: fix usage of new MMD modifying helpers
When replacing mv3310_modify() with phy_modify_mmd() we missed that they behave differently, mv3310_modify() returns 1 on a changed register value whilst phy_modify_mmd() returns 0. Fix this by replacing phy_modify_mmd() with phy_modify_mmd_changed() where needed. Fixes: b52c018ddccf ("net: phy: make use of new MMD accessors") Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/phy_device.c')
0 files changed, 0 insertions, 0 deletions