mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 17:51:43 +00:00
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>
This commit is contained in:
parent
75747129a9
commit
47ee0e9952
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user