]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: fix SMBus Rollball access 23049/head
authorJan Hoffmann <jan@3e8.eu>
Wed, 22 Apr 2026 15:48:20 +0000 (17:48 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 26 Apr 2026 07:51:09 +0000 (09:51 +0200)
commitc78e2fe26dde403179da1622c4197e74a9f1cb93
tree9812ed0ed65bfb57ddd12154fb292589a00b17c1
parent45633073fe057b51d3c7397e28b6c5703c88686e
realtek: fix SMBus Rollball access

The Rollball command byte needs to be written last. Otherwise the
controller might access the wrong register or write the wrong value.

Fixes: 1fc19bc06edc ("realtek: rtl93xx: mdio-smbus support for clause 45 and Rollball SFPs")
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
Link: https://github.com/openwrt/openwrt/pull/23049
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
target/linux/realtek/patches-6.18/712-net-phy-add-an-MDIO-SMBus-library.patch