From: Corentin Chary <[EMAIL PROTECTED]>

Fix a stupid light sens detection bug.

Signed-off-by: Corentin Chary <[EMAIL PROTECTED]>
---
 asus-laptop.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/misc/asus-laptop.c        2007-05-05 09:31:05.000000000 +0200
+++ b/drivers/misc/asus-laptop.c        2007-05-05 09:32:55.000000000 +0200
@@ -936,7 +936,7 @@
 
        /* 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);
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to