mirror of
https://github.com/LiBwrt-op/openwrt-6.x.git
synced 2025-12-25 21:39:38 +00:00
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> |
||
|---|---|---|
| .. | ||
| base-files | ||
| dts | ||
| files/firmware/rtl838x_phy | ||
| files-6.12 | ||
| image | ||
| patches-6.12 | ||
| profiles | ||
| rtl838x | ||
| rtl839x | ||
| rtl930x | ||
| rtl931x | ||
| Makefile | ||