]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: 6.12: allow fiber media status to be read without lock
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Tue, 3 Jun 2025 18:21:48 +0000 (14:21 -0400)
committerRobert Marko <robimarko@gmail.com>
Wed, 11 Jun 2025 20:27:22 +0000 (22:27 +0200)
commitec310a0993e74d64ebf9bd2b649a3ac321e3bf82
tree55eeeb6681844e604221a628be7123c64541a088
parent30fae30e038ba6a5fe8184fa339355cfcfd15c43
realtek: 6.12: allow fiber media status to be read without lock

rtl8214fc_media_is_fibre() will need to be run when bus lock is held.
Split the function into two versions.

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/18935
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/phy/rtl83xx-phy.c