diff options
| author | Russell King <[email protected]> | 2019-12-17 13:39:36 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2019-12-19 12:52:34 -0800 |
| commit | d2004e27eb352a5961cae7cc50563dbdc5386ba7 (patch) | |
| tree | acd52e665ac63ab483a98f6b70f2d5f8f4ba4fb5 /tools/perf/scripts/python/mem-phys-addr.py | |
| parent | 760fa78f3509d3d414804c4017de3d0dba995081 (diff) | |
net: phy: marvell: consolidate phy status reading
marvell_read_status_page_an() always reads the PHY status register, but
marvell_update_link() has already done this. Rather than wastefully
reading the register twice in quick succession, read it once in
marvell_read_status_page() and use the result for both.
This makes marvell_update_link() rather pointless, so move it into
marvell_read_status_page().
Signed-off-by: Russell King <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions