projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e539c2f
)
asus-laptop: fix light sens init
author
Corentin Chary
<corentincj@iksaif.net>
Sun, 6 May 2007 12:47:29 +0000
(14:47 +0200)
committer
Len Brown
<len.brown@intel.com>
Thu, 10 May 2007 06:40:36 +0000
(
02:40
-0400)
Fix a stupid light sens detection bug.
Signed-off-by: Corentin Chary <corentincj@iksaif.net>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/misc/asus-laptop.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/misc/asus-laptop.c
b/drivers/misc/asus-laptop.c
index f1bab721ff55d9a0c5eedc6c587f6716c7f47b53..b39419cc29836ed29f2268a0371a90c6f0d15c39 100644
(file)
--- 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);