realtek: pcs: rtl931x: quit setup_serdes early on USXGMII mode
authorJonas Jelonek <[email protected]>
Wed, 8 Oct 2025 19:44:31 +0000 (19:44 +0000)
committerHauke Mehrtens <[email protected]>
Sun, 19 Oct 2025 21:49:56 +0000 (23:49 +0200)
commit8bdc3d1b56e72edeb00b70cdd35fc2aed95c8a45
treecf0852e9d324765942e7c24a1ad960ba076a601a
parenta89d8acb5b37a0e83468a2d03158d0ae86972563
realtek: pcs: rtl931x: quit setup_serdes early on USXGMII mode

In rtpcs_931x_setup_serdes, quit early on USXGMII mode. This restores
the behaviour introduced in c18476d0c5 to prevent the current buggy
procedure to destroy a working configuration established by U-Boot
before.

Also include the valuable comment from the code to keep the information.

Signed-off-by: Jonas Jelonek <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20369
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c