mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
asus-laptop: fix light sens init
Fix a stupid light sens detection bug. Signed-off-by: Corentin Chary <corentincj@iksaif.net> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
parent
e539c2f69c
commit
832d995029
1 changed files with 1 additions and 1 deletions
|
@ -936,7 +936,7 @@ static int asus_hotk_get_info(void)
|
|||
|
||||
/* There is a lot of models with "ALSL", but a few get
|
||||
a real light sens, so we need to check it. */
|
||||
if (ASUS_HANDLE_INIT(ls_switch))
|
||||
if (!ASUS_HANDLE_INIT(ls_switch))
|
||||
ASUS_HANDLE_INIT(ls_level);
|
||||
|
||||
ASUS_HANDLE_INIT(gps_on);
|
||||
|
|
Loading…
Reference in a new issue