diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-12-10 12:38:26 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-12-11 20:23:52 -0800 |
commit | 3fa2540d93d85ad18456dbd29386c737ad3f7e02 (patch) | |
tree | 7b5aab190c8646b51f63efb917ab2728869c6423 /net | |
parent | 175dd9079ecbd86d0e10927c442d64519baf5809 (diff) |
net: fec: use phydev->eee_cfg.tx_lpi_timer
Rather than maintaining a private copy of the LPI timer, make use of
the LPI timer maintained by phylib. In any case, phylib overwrites the
value of tx_lpi_timer set by the driver in phy_ethtool_get_eee().
Note that feb->eee.tx_lpi_timer is initialised to zero, which is just
the same with phylib's copy, so there should be no functional change.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Tested-by: Wei Fang <wei.fang@nxp.com>
Link: https://patch.msgid.link/E1tKzVS-006c67-IJ@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions