]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: pcs: rtl930x: use DCVS helpers in calibration init
authorJonas Jelonek <jelonek.jonas@gmail.com>
Sun, 5 Jul 2026 17:15:21 +0000 (17:15 +0000)
committerJonas Jelonek <jelonek.jonas@gmail.com>
Mon, 6 Jul 2026 20:36:22 +0000 (22:36 +0200)
commitcfa212ad7939c0e697cae7e944473075dc765bfe
tree061ffc9e16996931f08518f12e0130b212e1667f
parent4fc1dea1295485d7202c7ed9ed3b73ff5f831fe0
realtek: pcs: rtl930x: use DCVS helpers in calibration init

Replace the nine raw register writes that enable auto-adapt for all six
DCVS channels with a loop over dcvs_set_adapt(), consistent with how
TAP and VTH init was already converted.

Link: https://github.com/openwrt/openwrt/pull/24091
Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
target/linux/realtek/files-6.18/drivers/net/pcs/pcs-rtl-otto.c