diff options
author | John Crispin <john@openwrt.org> | 2015-03-15 19:25:48 +0000 |
---|---|---|
committer | John Crispin <john@openwrt.org> | 2015-03-15 19:25:48 +0000 |
commit | 5ca2ad10638378eaf5b22b33a4e8bc1617e0e42f (patch) | |
tree | 24dc4f8f622db8d5f3aa7ab665a3a2023eb25cf8 /target/linux | |
parent | ff92fe5770956c85cf25453a19c30758e3ddc245 (diff) | |
download | mtk-20170518-5ca2ad10638378eaf5b22b33a4e8bc1617e0e42f.zip mtk-20170518-5ca2ad10638378eaf5b22b33a4e8bc1617e0e42f.tar.gz mtk-20170518-5ca2ad10638378eaf5b22b33a4e8bc1617e0e42f.tar.bz2 |
Fix (invert/revert) Hornet-UB WPS LED state
My previous patch regarding the Hornet-UB board
(commit: beed4d82d6a0154b0cd5f7b84e2180215ace6718) actually
causes the WPS led state to be inverted. Practically this meant
that value 0 in /sys/class/led/alfa:blue:wps/brightness would
turn the LED on and any positive value (1-255) would turn it off.
The above of course is confusing and hence reverting this value
back to the way it was before beed4d82d6a0154b0cd5f7b84e2180215ace6718.
Signed-off-by: Janne Cederberg <janne.cederberg@gmail.com>
SVN-Revision: 44791
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c b/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c index 93bb8f0..1d21424 100644 --- a/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c +++ b/target/linux/ar71xx/files/arch/mips/ath79/mach-hornet-ub.c @@ -65,7 +65,7 @@ static struct gpio_led hornet_ub_leds_gpio[] __initdata = { { .name = "alfa:blue:wps", .gpio = HORNET_UB_GPIO_LED_WPS, - .active_low = 0, + .active_low = 1, }, }; |