diff options
author | Vasily Khoruzhick <anarsoul@gmail.com> | 2011-01-06 14:52:51 -0500 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-03-20 19:14:55 -0400 |
commit | fed7fdbef48d513b1a470bc3d76923d156996448 (patch) | |
tree | 2e9debaec578d572c063a17e4e85676dcac87038 | |
parent | 25d391cbe610009d2ea10d820f36621b7610c963 (diff) |
ARM: S3C2442: RX1950: Retain LEDs state in suspend
s3c_adc_battery uses LEDs to indicate charging process,
retain LEDs state in suspend, otherwise user have no information if PDA
battery is charging after he put it to suspend.
Signed-off-by: Vasily Khoruzhick <anarsoul@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
-rw-r--r-- | arch/arm/mach-s3c2440/mach-rx1950.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c2440/mach-rx1950.c b/arch/arm/mach-s3c2440/mach-rx1950.c index 86bbc233b31c..0f6821ba9b28 100644 --- a/arch/arm/mach-s3c2440/mach-rx1950.c +++ b/arch/arm/mach-s3c2440/mach-rx1950.c | |||
@@ -268,16 +268,19 @@ static struct gpio_led rx1950_leds_desc[] = { | |||
268 | .name = "Green", | 268 | .name = "Green", |
269 | .default_trigger = "main-battery-charging-or-full", | 269 | .default_trigger = "main-battery-charging-or-full", |
270 | .gpio = S3C2410_GPA(6), | 270 | .gpio = S3C2410_GPA(6), |
271 | .retain_state_suspended = 1, | ||
271 | }, | 272 | }, |
272 | { | 273 | { |
273 | .name = "Red", | 274 | .name = "Red", |
274 | .default_trigger = "main-battery-full", | 275 | .default_trigger = "main-battery-full", |
275 | .gpio = S3C2410_GPA(7), | 276 | .gpio = S3C2410_GPA(7), |
277 | .retain_state_suspended = 1, | ||
276 | }, | 278 | }, |
277 | { | 279 | { |
278 | .name = "Blue", | 280 | .name = "Blue", |
279 | .default_trigger = "rx1950-acx-mem", | 281 | .default_trigger = "rx1950-acx-mem", |
280 | .gpio = S3C2410_GPA(11), | 282 | .gpio = S3C2410_GPA(11), |
283 | .retain_state_suspended = 1, | ||
281 | }, | 284 | }, |
282 | }; | 285 | }; |
283 | 286 | ||