diff options
author | Andrew Lunn <andrew@lunn.ch> | 2019-04-18 03:11:39 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-19 14:08:21 -0700 |
commit | a26deec69fa4a1843f11f11e123b49ed0699ff00 (patch) | |
tree | b44b400a49f3e9c1ba5d568ebdcb4176bc19c46c /net/tipc/socket.c | |
parent | 0768e17073dc527ccd18ed5f96ce85f9985e9115 (diff) |
net: dsa: mv88e6xxx: Only reconfigure MAC when something changes
phylink will call the mac_config() callback once per second when
polling a PHY or a fixed link. The MAC driver is not supposed to
reconfigure the MAC if nothing has changed.
Make the mv88e6xxx driver look at the current configuration of the
port, and return early if nothing has changed.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc/socket.c')
0 files changed, 0 insertions, 0 deletions