public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Corentin CHARY <corentincj@iksaif.net>
To: lenb@kernel.org
Cc: linux-acpi@vger.kernel.org
Subject: Re: [PATCH 3/4] asus-laptop fix light sens init
Date: Sun, 6 May 2007 14:47:29 +0200	[thread overview]
Message-ID: <200705061447.29707.corentincj@iksaif.net> (raw)
In-Reply-To: <200705061445.03504.corentincj@iksaif.net>

From: Corentin Chary <corentincj@iksaif.net>

Fix a stupid light sens detection bug.

Signed-off-by: Corentin Chary <corentincj@iksaif.net>
---
 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);

  parent reply	other threads:[~2007-05-06 12:47 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-06 12:45 [PATCH 0/4] asus-laptop Corentin CHARY
2007-05-06 12:46 ` [PATCH 1/4] asus-laptop notify ALL events Corentin CHARY
2007-05-06 12:47 ` [PATCH 2/4] asus-laptop add GPS support Corentin CHARY
2007-05-06 12:47 ` Corentin CHARY [this message]
2007-05-06 12:48 ` [PATCH 4/4] asus-laptop version bump and lindent Corentin CHARY
2007-05-07 10:00 ` [PATCH 0/4] asus-laptop Thomas Renninger
2007-05-10  6:44 ` Len Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200705061447.29707.corentincj@iksaif.net \
    --to=corentincj@iksaif.net \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox