commit | f17e70d2586a81d69d7b011e81af0456fe65d658 | [log] [tgz] |
---|---|---|
author | Antoine Tenart <antoine.tenart@bootlin.com> | Fri Mar 01 11:52:12 2019 +0100 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 01 23:23:34 2019 -0800 |
tree | 6e07acc5cfc9a7c2ebd4cd5fa0132de9883a9372 | |
parent | 6b10bfc51c494e0a2b2c0871797a1d825da9997c [diff] |
net: mvpp2: only update the XLG configuration when needed This patch improves the XLG configuration function, to only update the XLG configuration register when a change is needed. This helps not writing over and over the same XLG configuration each time phylink request the MAC to be configured. This mimics the GMAC configuration function. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: David S. Miller <davem@davemloft.net>