Skip to content
Commit a618e86d authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller
Browse files

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: default avatarAndrew Lunn <andrew@lunn.ch>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f2bc8ad3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment