commit | a618e86da91d259374caff065cc557899dc181ce | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Wed May 27 00:21:42 2020 +0200 |
committer | David S. Miller <davem@davemloft.net> | Tue May 26 23:22:21 2020 -0700 |
tree | 53b1ae854eaab794e88790eb6ab57393c4094f3f | |
parent | f2bc8ad31a7f814237bc6301d59296d76505a688 [diff] |
net : phy: marvell: Speedup TDR data retrieval by only changing page once Getting the TDR data requires a large number of MDIO bus transactions. The number can however be reduced if the page is only changed once. Add the needed locking to allow this, and make use of unlocked read/write methods where needed. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>