aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-12-17 13:39:36 +0000
committerDavid S. Miller <davem@davemloft.net>2019-12-19 12:52:34 -0800
commitd2004e27eb352a5961cae7cc50563dbdc5386ba7 (patch)
treeacd52e665ac63ab483a98f6b70f2d5f8f4ba4fb5 /tools/perf/scripts/python/bin
parentnet: phy: marvell: use positive logic for link state (diff)
downloadlinux-d2004e27eb352a5961cae7cc50563dbdc5386ba7.tar.gz
linux-d2004e27eb352a5961cae7cc50563dbdc5386ba7.zip
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 <rmk+kernel@armlinux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions