aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorMarek Vasut <marek.vasut@mailbox.org>2025-10-11 13:02:49 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-10-23 16:24:30 +0200
commitd3967d0ec733afdf4ee5cb37c30db000611040a4 (patch)
tree2b8caf9066223f4a75e3d0253dfcf1fb3a486fa7 /tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com
parentixgbe: fix too early devlink_free() in ixgbe_remove() (diff)
net: phy: realtek: Avoid PHYCR2 access if PHYCR2 not present
[ Upstream commit 2c67301584f2671e320236df6bbe75ae09feb4d0 ] The driver is currently checking for PHYCR2 register presence in rtl8211f_config_init(), but it does so after accessing PHYCR2 to disable EEE. This was introduced in commit bfc17c165835 ("net: phy: realtek: disable PHY-mode EEE"). Move the PHYCR2 presence test before the EEE disablement and simplify the code. Fixes: bfc17c165835 ("net: phy: realtek: disable PHY-mode EEE") Signed-off-by: Marek Vasut <marek.vasut@mailbox.org> Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com> Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk> Link: https://patch.msgid.link/20251011110309.12664-1-marek.vasut@mailbox.org Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions