aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorCorentin Chary <corentin.chary@gmail.com>2010-01-24 05:17:15 -0500
committerCorentin Chary <corentincj@iksaif.net>2010-02-28 13:35:13 -0500
commit47ee0e99524a7ee0185e3c38423cc17cc1318ddc (patch)
treecf0b2ecaf6667dbb6f772bd89d7230bc0746f071 /drivers/platform
parent75747129a994463e36c2516e8071771427d8494b (diff)
asus-laptop: set initial lcd state
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>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/asus-laptop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c
index ca144d251b00..1d61094d3b5f 100644
--- 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)
1421 !acpi_check_handle(asus->handle, METHOD_GPS_OFF, NULL) && 1421 !acpi_check_handle(asus->handle, METHOD_GPS_OFF, NULL) &&
1422 !acpi_check_handle(asus->handle, METHOD_GPS_STATUS, NULL)) 1422 !acpi_check_handle(asus->handle, METHOD_GPS_STATUS, NULL))
1423 asus_gps_switch(asus, 1); 1423 asus_gps_switch(asus, 1);
1424
1425 asus->lcd_state = 1; /* LCD should be on when the module load */
1424 return result; 1426 return result;
1425} 1427}
1426 1428