]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl930x: move CMU reset into PLL config
authorJonas Jelonek <jelonek.jonas@gmail.com>
Tue, 24 Feb 2026 12:11:18 +0000 (12:11 +0000)
committerHauke Mehrtens <hauke@hauke-m.de>
Sat, 14 Mar 2026 19:24:32 +0000 (20:24 +0100)
commit6f06dbf7dd5d6a5e1cc063fbf88b155d0cee09ca
tree99235766ee19b640dd336da51fe20e73cb1955b4
parent130d8d6b5197795a15c4caf11af49caa6f470371
realtek: pcs: rtl930x: move CMU reset into PLL config

Move resetting the CMU into the PLL configuration itself where the speed
is set. Since this operation is not dependent of the target SerDes and
only needs to be called if the speed changed, it fits better there.
Though the call was guarded with a 'speed_changed' before, this also
applies to actually changing the speed. This was done before anyway,
even if the speed value hasn't really changed.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/22198
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/files-6.12/drivers/net/pcs/pcs-rtl-otto.c