diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2011-03-17 21:04:57 +0300 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-03-22 02:29:43 +0300 |
commit | 9edb240696bacd53f4331119d2dfd13d4cd4852f (patch) | |
tree | d10810d41145b26cbe1b46954acde96efb82e460 /arch/arm/mach-s3c2440 | |
parent | 62235dcd2ad4f46ea9e5d4f71c5ea3111341c6e8 (diff) | |
download | linux-9edb240696bacd53f4331119d2dfd13d4cd4852f.tar.xz |
ARM: H1940/RX1950: Change default LED triggers
Change LED triggers to mimic WinMobile behavior:
red blinking when battery is charging,
orange solid when battery is charged.
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c2440')
-rw-r--r-- | arch/arm/mach-s3c2440/mach-rx1950.c | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/arch/arm/mach-s3c2440/mach-rx1950.c b/arch/arm/mach-s3c2440/mach-rx1950.c index 22f18d9e2d79..27ea95096fe1 100644 --- a/arch/arm/mach-s3c2440/mach-rx1950.c +++ b/arch/arm/mach-s3c2440/mach-rx1950.c @@ -311,22 +311,23 @@ static int rx1950_led_blink_set(unsigned gpio, int state, static struct gpio_led rx1950_leds_desc[] = { { - .name = "Green", - .default_trigger = "main-battery-charging-or-full", - .gpio = S3C2410_GPA(6), - .retain_state_suspended = 1, + .name = "Green", + .default_trigger = "main-battery-full", + .gpio = S3C2410_GPA(6), + .retain_state_suspended = 1, }, { - .name = "Red", - .default_trigger = "main-battery-full", - .gpio = S3C2410_GPA(7), - .retain_state_suspended = 1, + .name = "Red", + .default_trigger + = "main-battery-charging-blink-full-solid", + .gpio = S3C2410_GPA(7), + .retain_state_suspended = 1, }, { - .name = "Blue", + .name = "Blue", .default_trigger = "rx1950-acx-mem", - .gpio = S3C2410_GPA(11), - .retain_state_suspended = 1, + .gpio = S3C2410_GPA(11), + .retain_state_suspended = 1, }, }; |