]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/misc/asus-laptop.c
asus-laptop: fix light sens init
[linux-2.6-omap-h63xx.git] / drivers / misc / asus-laptop.c
index f1bab721ff55d9a0c5eedc6c587f6716c7f47b53..b39419cc29836ed29f2268a0371a90c6f0d15c39 100644 (file)
@@ -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);