Files
openwrt-R7800-nss/target/linux
Jonas Jelonek 6432b41180 realtek: rtl931x: fix setting number of leds per port
In rtl931x_led_init, the number of leds per port is not properly set. It
currently uses a hardcoded value of 1 which seems to be taken initially
from a specific device. This hardcoded value assumes any port always has
exactly two leds.

The RTL930x variant - rtl930x_led_init - does a better job at this. So
take it and use it for RTL931x too with the corresponding register.
While at it, rename the function to a proper naming scheme.

Signed-off-by: Jonas Jelonek <jelonek.jonas@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/19241
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-07-13 16:47:42 +02:00
..
2025-07-12 16:47:58 +02:00
2025-05-20 00:47:37 +02:00
2025-07-12 16:47:58 +02:00
2025-07-12 16:47:58 +02:00
2025-06-28 22:47:48 +02:00
2025-07-13 15:27:54 +02:00
2025-06-03 01:45:40 +02:00
2025-05-03 19:57:53 +02:00
2025-05-24 16:15:53 +02:00
2025-06-21 13:54:17 +02:00
2025-07-12 16:47:58 +02:00
2025-07-13 00:49:37 +02:00
2025-06-12 12:42:15 +02:00
2025-07-12 16:47:58 +02:00