diff options
| author | Daniel Golle <daniel@makrotopia.org> | 2025-11-20 17:17:13 +0300 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2025-11-22 05:10:28 +0300 |
| commit | ec3803b5917b6ff2f86ea965d0985c95d8a85119 (patch) | |
| tree | 3a6966da89cefb00273afbe0960972e2eaf10b77 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
| parent | a14602fcae17a3f1cb8a8521bedf31728f9e7e39 (diff) | |
| download | linux-ec3803b5917b6ff2f86ea965d0985c95d8a85119.tar.xz | |
net: phy: mxl-gpy: fix bogus error on USXGMII and integrated PHY
As the interface mode doesn't need to be updated on PHYs connected with
USXGMII and integrated PHYs, gpy_update_interface() should just return 0
in these cases rather than -EINVAL which has wrongly been introduced by
commit 7a495dde27ebc ("net: phy: mxl-gpy: Change gpy_update_interface()
function return type"), as this breaks support for those PHYs.
Fixes: 7a495dde27ebc ("net: phy: mxl-gpy: Change gpy_update_interface() function return type")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
Reviewed-by: Maxime Chevallier <maxime.chevallier@bootlin.com>
Reviewed-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/f744f721a1fcc5e2e936428c62ff2c7d94d2a293.1763648168.git.daniel@makrotopia.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions
