diff options
author | Harini Katakam <[email protected]> | 2019-03-01 16:20:32 +0530 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-03-03 13:51:37 -0800 |
commit | 8beb79b7ae937632db1d2721d33b46526d41f153 (patch) | |
tree | a940e3543aed8ead37ac363865e0764a361c6c5a /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 41bc0ddb80e0380ab88b3902e638c89b3453b421 (diff) |
net: macb: Check MDIO state before read/write and use timeouts
Replace the while loop in MDIO read/write functions with a timeout.
In addition, add a check for MDIO bus busy before initiating a new
operation as well to make sure there is no ongoing MDIO operation.
Signed-off-by: Shubhrajyoti Datta <[email protected]>
Signed-off-by: Sai Pavan Boddu <[email protected]>
Signed-off-by: Harini Katakam <[email protected]>
Reviewed-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions