]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: rtl838x: fix regression in enable_phy_polling 20549/head
authorFelix Baumann <felix.bau@gmx.de>
Sun, 26 Oct 2025 01:54:14 +0000 (02:54 +0100)
committerRobert Marko <robimarko@gmail.com>
Tue, 28 Oct 2025 09:11:32 +0000 (10:11 +0100)
commit93ba35fa7d537088ac81bce3435f8de049e0189b
tree5c205a44fee3419e624b14707f349f59a4d4ebd3
parent66e5e9671f8c02319109ba3391e355ccce98003f
realtek: rtl838x: fix regression in enable_phy_polling

Fix regression from back when support for RTL930x was added.
While at it replace 0x8000 by BIT(15).

Fixes: 27029277f98ddd0006175bdc5beec8b0b150f187
Tested-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Signed-off-by: Felix Baumann <felix.bau@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20549
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/files-6.12/drivers/net/dsa/rtl83xx/dsa.c