commit | fecd5e910ebed27fa68c34bf7ecc300a12950897 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Sun Jul 30 22:41:49 2017 +0200 |
committer | David S. Miller <davem@davemloft.net> | Mon Jul 31 18:00:23 2017 -0700 |
tree | ecd89ae49b4555bfad33cf3aa74e80cda133e317 | |
parent | 864dc729d528560e8d204267d66dae59972f462c [diff] |
net: phy: marvell: Use the set_polarity helper Some of the init functions unilaterally enable set auto cross over without using the helper. Make use of the helper, and respect the phydev MDI configuration. Clean up the #define used while setting polarity, and the other functions of the bits in the register. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>