diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2019-11-14 18:03:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-15 23:32:16 +0300 |
commit | 5bc9d2e6e7d546548ae1a7cd3de37672db4075ce (patch) | |
tree | 8dbc606ed8662708db42af165bd2fb9d1e637bd1 /drivers/reset/reset-socfpga.c | |
parent | dc3de2a294eab8b1375f96eb4cf2a1d5edfcc9ab (diff) | |
download | linux-5bc9d2e6e7d546548ae1a7cd3de37672db4075ce.tar.xz |
net: mscc: ocelot: move invariant configs out of adjust_link
It doesn't make sense to rewrite all these registers every time the PHY
library notifies us about a link state change.
In a future patch we will customize the MTU for the CPU port, and since
the MTU was previously configured from adjust_link, if we don't make
this change, its value would have got overridden.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.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/reset/reset-socfpga.c')
0 files changed, 0 insertions, 0 deletions