diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2019-02-10 19:58:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-10 12:53:18 -0800 |
commit | b06d8e5a5dcc21063a0a84658b7106f40aa400e4 (patch) | |
tree | cbb3d6f5b2c8f54922850507a0c40983e8967625 /drivers/watchdog/w83977f_wdt.c | |
parent | b8554d4f7288f86fb278e0bc7b5b19579bf16b69 (diff) |
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/watchdog/w83977f_wdt.c')
0 files changed, 0 insertions, 0 deletions