diff mbox

[24/28] asus-laptop: set initial lcd state

Message ID 1265096351-15239-25-git-send-email-corentincj@iksaif.net (mailing list archive)
State Accepted
Delegated to: Len Brown
Headers show

Commit Message

Corentin Chary Feb. 2, 2010, 7:39 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c
index ca144d2..1d61094 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)
 	    !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;
 }