diff options
author | AceLan Kao <acelan.kao@canonical.com> | 2012-01-17 16:18:06 +0800 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2012-03-20 12:02:23 -0400 |
commit | 2d5de9e84928e35b4d9b46b4d8d5dcaac1cff1fa (patch) | |
tree | 8ac5aa090be19ff01b76ef82adaa7ac54501c1f0 | |
parent | 3197059af0762c191af23c0ce3fd6f8311c564e7 (diff) | |
download | op-kernel-dev-2d5de9e84928e35b4d9b46b4d8d5dcaac1cff1fa.zip op-kernel-dev-2d5de9e84928e35b4d9b46b4d8d5dcaac1cff1fa.tar.gz |
dell-laptop: touchpad LED should persist its status after S3
Touchpad LED will not turn on after S3, it will make the touchpad status
doesn't consist with the LED.
By adding one flag to let the LED device restore it's status.
Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
-rw-r--r-- | drivers/platform/x86/dell-laptop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c index 27600a1..a05fc9c 100644 --- a/drivers/platform/x86/dell-laptop.c +++ b/drivers/platform/x86/dell-laptop.c @@ -641,6 +641,7 @@ static void touchpad_led_set(struct led_classdev *led_cdev, static struct led_classdev touchpad_led = { .name = "dell-laptop::touchpad", .brightness_set = touchpad_led_set, + .flags = LED_CORE_SUSPENDRESUME, }; static int __devinit touchpad_led_init(struct device *dev) |