]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: rtl931x: Fix SDS field modifications
authorHarshal Gohel <hg@simonwunderlich.de>
Mon, 14 Jul 2025 09:35:00 +0000 (11:35 +0200)
committerRobert Marko <robimarko@gmail.com>
Wed, 30 Jul 2025 10:48:26 +0000 (12:48 +0200)
commit848887b491fdb252ac888c353c4d8fef38b6b741
tree31a388d54288c2ef7b6ba31daa495ea191f39b0c
parentc20f4d6637a4daf66af84d786d002a6382ce3e58
realtek: rtl931x: Fix SDS field modifications

A RTL930x function to read the value from an SDS register must not used on
an RTL931x SoC. Doing it with rtl930x_read_sds_phy() would corrupt the
written results when only parts of the bits are written.

Fixes: 7026084066fb ("realtek: Add SDS configuration routines for the RTL93XX platforms")
Signed-off-by: Harshal Gohel <hg@simonwunderlich.de>
Signed-off-by: Sharadanand Karanjkar <sk@simonwunderlich.de>
Link: https://github.com/openwrt/openwrt/pull/19603
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c