projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7574712
)
asus-laptop: set initial lcd state
author
Corentin Chary
<corentin.chary@gmail.com>
Sun, 24 Jan 2010 10:17:15 +0000
(11:17 +0100)
committer
Corentin Chary
<corentincj@iksaif.net>
Sun, 28 Feb 2010 18:35:13 +0000
(19:35 +0100)
There is no way to find the initial lcd state. A quick workaround
is to set it "on" by default. Anyway this feature is scheduled for removal.
Signed-off-by: Corentin Chary <corentin.chary@gmail.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
ca144d2
..
1d61094
100644
(file)
--- a/
drivers/platform/x86/asus-laptop.c
+++ b/
drivers/platform/x86/asus-laptop.c
@@
-1421,6
+1421,8
@@
static int __devinit asus_acpi_init(struct asus_laptop *asus)
!acpi_check_handle(asus->handle, METHOD_GPS_OFF, NULL) &&
!acpi_check_handle(asus->handle, METHOD_GPS_STATUS, NULL))
asus_gps_switch(asus, 1);
+
+ asus->lcd_state = 1; /* LCD should be on when the module load */
return result;
}