projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b23910c
)
asus-laptop: hide leds on Pegatron Lucid
author
Corentin Chary
<corentin.chary@gmail.com>
Fri, 14 Oct 2011 09:13:39 +0000
(11:13 +0200)
committer
Matthew Garrett
<mjg@redhat.com>
Mon, 24 Oct 2011 14:52:41 +0000
(16:52 +0200)
Signed-off-by: Corentin Chary <corentin.chary@gmail.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/asus-laptop.c
patch
|
blob
|
history
diff --git
a/drivers/platform/x86/asus-laptop.c
b/drivers/platform/x86/asus-laptop.c
index 613762d825f9ffa71c5aee03ba05f3d80f6e6d5f..1fb8e699baf45d4efe3415609cf8d2decd870084 100644
(file)
--- a/
drivers/platform/x86/asus-laptop.c
+++ b/
drivers/platform/x86/asus-laptop.c
@@
-628,6
+628,13
@@
static int asus_led_init(struct asus_laptop *asus)
{
int r;
+ /*
+ * The Pegatron Lucid has no physical leds, but all methods are
+ * available in the DSDT...
+ */
+ if (asus->is_pega_lucid)
+ return 0;
+
/*
* Functions that actually update the LED's are called from a
* workqueue. By doing this as separate work rather than when the LED