aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar7/files
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2008-02-02 01:21:57 +0000
committerFelix Fietkau <nbd@openwrt.org>2008-02-02 01:21:57 +0000
commitf89ca7d9e3b0aa1d542195aa7b8d136a0683e439 (patch)
tree1002abef0b965c6fdd5f5113000d7d38a3a9656a /target/linux/ar7/files
parentf165889337c7cc037a2b4444d5bc7b002b5f24d2 (diff)
downloadmaster-187ad058-f89ca7d9e3b0aa1d542195aa7b8d136a0683e439.tar.gz
master-187ad058-f89ca7d9e3b0aa1d542195aa7b8d136a0683e439.tar.bz2
master-187ad058-f89ca7d9e3b0aa1d542195aa7b8d136a0683e439.zip
DG834G Power LED fix
This patch enables the new "default-on" trigger for the AR7 target and uses it to ensure the "power" LED on the DG834G is initialised in the ON state. Previously this LED would turn off when the driver loaded and stay off until turned back on from userspace. With this patch it remains on throughout the boot process, but can still be controlled from userspace if required. Signed-off-by: Nick Forbes <nick.forbes@incepta.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10349 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ar7/files')
-rw-r--r--target/linux/ar7/files/arch/mips/ar7/platform.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/ar7/files/arch/mips/ar7/platform.c b/target/linux/ar7/files/arch/mips/ar7/platform.c
index d5a9f39455..22c79f586f 100644
--- a/target/linux/ar7/files/arch/mips/ar7/platform.c
+++ b/target/linux/ar7/files/arch/mips/ar7/platform.c
@@ -334,7 +334,7 @@ static struct gpio_led dg834g_leds[] = {
{ .name = "status", .gpio = 7, .active_low = 1, },
{ .name = "adsl", .gpio = 8, .active_low = 1, },
{ .name = "wifi", .gpio = 12, .active_low = 1, },
- { .name = "power", .gpio = 14, .active_low = 1, },
+ { .name = "power", .gpio = 14, .active_low = 1, .default_trigger = "default-on", },
};
static struct gpio_led fb_sl_leds[] = {