diff options
| author | Heiner Kallweit <[email protected]> | 2024-12-20 22:02:06 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-01-03 01:09:09 +0000 |
| commit | c83ca5a4df7cf0ce9ccc25e8481043e05aed6ad0 (patch) | |
| tree | 5a76fad42d676c51b4df82db8d070d6f8a466a4a /drivers/fpga/zynq-fpga.c | |
| parent | Merge branch 'net-lan969x-add-rgmii-support' (diff) | |
| download | kernel-c83ca5a4df7cf0ce9ccc25e8481043e05aed6ad0.tar.gz kernel-c83ca5a4df7cf0ce9ccc25e8481043e05aed6ad0.zip | |
net: phy: fix phy_disable_eee
genphy_c45_write_eee_adv() becomes a no-op if phydev->supported_eee
is cleared. That's not what we want because this function is still
needed to clear the EEE advertisement register(s).
Fill phydev->eee_broken_modes instead to ensure that userspace
can't re-enable EEE advertising.
Fixes: b55498ff14bd ("net: phy: add phy_disable_eee")
Signed-off-by: Heiner Kallweit <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/zynq-fpga.c')
0 files changed, 0 insertions, 0 deletions
