diff options
author | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-11-14 12:45:15 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2019-11-19 12:45:13 +0100 |
commit | 93f2bcc35e371ec0c4ceb76c06f90b898c726ba5 (patch) | |
tree | 5c5fa359b6f15b519f23f93dcbcba1056ff995b8 /target/linux/ar71xx/files/arch/mips/ath79/mach-som9331.c | |
parent | 1a0d6e1eba57d38c5ab6b0e8468188f09e45079d (diff) | |
download | upstream-93f2bcc35e371ec0c4ceb76c06f90b898c726ba5.tar.gz upstream-93f2bcc35e371ec0c4ceb76c06f90b898c726ba5.tar.bz2 upstream-93f2bcc35e371ec0c4ceb76c06f90b898c726ba5.zip |
ar71xx: fix LED setup for TL-WDR4900 v2
In ar71xx there is only one combined mach file for Archer C5/C7 and
TL-WDR4900 v2. This one uses the same LED struct for all devices,
defining "green" LEDs for them. However, WDR4900 uses blue front
LEDs, while only C5/C7 uses green ones. Despite, in base-files
WDR4900 is actually set up with "blue" for the mentioned LEDs.
Thus, this patch creates a separate LED struct for WDR4900, so the
LEDs can be set up correctly. Despite, the wlan5g LED is removed as
it is controlled by ath9k chip for WDR4900 (in contrast to C5/C7).
Note: While front LEDs are blue, USB LEDs (on the back) are green,
so colors are mixed intentionally for the WDR4900 v2.
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ar71xx/files/arch/mips/ath79/mach-som9331.c')
0 files changed, 0 insertions, 0 deletions