From ddade4d685633c9c29ba6966a40e98f1f5fc3fcc Mon Sep 17 00:00:00 2001 From: Corentin Chary Date: Fri, 14 Oct 2011 11:13:39 +0200 Subject: [PATCH] --- yaml --- r: 272021 b: refs/heads/master c: 8d38e42c61c53ab63abbb15380b39df4eae8d44e h: refs/heads/master i: 272019: 4092bd1028e1bea50fad2ce52a61df7a8b744050 v: v3 --- [refs] | 2 +- trunk/drivers/platform/x86/asus-laptop.c | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index a0786e2c132a..07778df15157 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: b23910c2194e0e0ee43e585788085f8e6dd4877e +refs/heads/master: 8d38e42c61c53ab63abbb15380b39df4eae8d44e diff --git a/trunk/drivers/platform/x86/asus-laptop.c b/trunk/drivers/platform/x86/asus-laptop.c index 613762d825f9..1fb8e699baf4 100644 --- a/trunk/drivers/platform/x86/asus-laptop.c +++ b/trunk/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