Commit 832d9950 authored by Corentin Chary's avatar Corentin Chary Committed by Len Brown

asus-laptop: fix light sens init

Fix a stupid light sens detection bug.
Signed-off-by: default avatarCorentin Chary <corentincj@iksaif.net>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent e539c2f6
...@@ -936,7 +936,7 @@ static int asus_hotk_get_info(void) ...@@ -936,7 +936,7 @@ static int asus_hotk_get_info(void)
/* There is a lot of models with "ALSL", but a few get /* There is a lot of models with "ALSL", but a few get
a real light sens, so we need to check it. */ 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(ls_level);
ASUS_HANDLE_INIT(gps_on); ASUS_HANDLE_INIT(gps_on);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment