Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=832d995029466e12aef66187bc9103487bf7be9f
Commit:     832d995029466e12aef66187bc9103487bf7be9f
Parent:     e539c2f69ca17f71dd41ba89cde67612a1326c57
Author:     Corentin Chary <[EMAIL PROTECTED]>
AuthorDate: Sun May 6 14:47:29 2007 +0200
Committer:  Len Brown <[EMAIL PROTECTED]>
CommitDate: Thu May 10 02:40:36 2007 -0400

    asus-laptop: fix light sens init
    
    Fix a stupid light sens detection bug.
    
    Signed-off-by: Corentin Chary <[EMAIL PROTECTED]>
    Signed-off-by: Len Brown <[EMAIL PROTECTED]>
---
 drivers/misc/asus-laptop.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/misc/asus-laptop.c b/drivers/misc/asus-laptop.c
index f1bab72..b39419c 100644
--- a/drivers/misc/asus-laptop.c
+++ b/drivers/misc/asus-laptop.c
@@ -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);
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to