summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0039-dell-laptop-touchpad-LED-should-persist-its-status-a.patch
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-05-23 11:20:07 +0200
committerDenys Dmytriyenko <denys@ti.com>2012-05-30 13:49:03 -0400
commit2177f80076ebc15cc58fb521b58e49c83315f34e (patch)
tree3690868d86f360c07c79ea21269ec198293dbec2 /recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0039-dell-laptop-touchpad-LED-should-persist-its-status-a.patch
parentd9d51a11b8ff53c5ee7ef12e221479a24e071f13 (diff)
downloadmeta-ti-2177f80076ebc15cc58fb521b58e49c83315f34e.tar.gz
linux-ti33x-psp 3.2: update to 3.2.18
Duplicate patches between PSP and 3.2.17 have been dropped from the 3.2.17 series Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Denys Dmytriyenko <denys@ti.com>
Diffstat (limited to 'recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0039-dell-laptop-touchpad-LED-should-persist-its-status-a.patch')
-rw-r--r--recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0039-dell-laptop-touchpad-LED-should-persist-its-status-a.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0039-dell-laptop-touchpad-LED-should-persist-its-status-a.patch b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0039-dell-laptop-touchpad-LED-should-persist-its-status-a.patch
new file mode 100644
index 00000000..7c8a194c
--- /dev/null
+++ b/recipes-kernel/linux/linux-ti33x-psp-3.2/3.2.17/0039-dell-laptop-touchpad-LED-should-persist-its-status-a.patch
@@ -0,0 +1,34 @@
1From 7a2e5d46e7959528fb4a7b45fc3ca55339a2445f Mon Sep 17 00:00:00 2001
2From: AceLan Kao <acelan.kao@canonical.com>
3Date: Tue, 17 Jan 2012 16:18:06 +0800
4Subject: [PATCH 039/165] dell-laptop: touchpad LED should persist its status
5 after S3
6
7commit 2d5de9e84928e35b4d9b46b4d8d5dcaac1cff1fa upstream.
8
9Touchpad LED will not turn on after S3, it will make the touchpad status
10doesn't consist with the LED.
11By adding one flag to let the LED device restore it's status.
12
13Signed-off-by: AceLan Kao <acelan.kao@canonical.com>
14Signed-off-by: Matthew Garrett <mjg@redhat.com>
15Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
16---
17 drivers/platform/x86/dell-laptop.c | 1 +
18 1 files changed, 1 insertions(+), 0 deletions(-)
19
20diff --git a/drivers/platform/x86/dell-laptop.c b/drivers/platform/x86/dell-laptop.c
21index 7621ac2..92e42d4 100644
22--- a/drivers/platform/x86/dell-laptop.c
23+++ b/drivers/platform/x86/dell-laptop.c
24@@ -642,6 +642,7 @@ static void touchpad_led_set(struct led_classdev *led_cdev,
25 static struct led_classdev touchpad_led = {
26 .name = "dell-laptop::touchpad",
27 .brightness_set = touchpad_led_set,
28+ .flags = LED_CORE_SUSPENDRESUME,
29 };
30
31 static int __devinit touchpad_led_init(struct device *dev)
32--
331.7.7.6
34