projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffab0d9
)
ACPI: asus_acpi: add S1N WLED control
author
Karol Kozimor
<sziwan@hell.org.pl>
Fri, 30 Jun 2006 23:13:00 +0000
(19:13 -0400)
committer
Len Brown
<len.brown@intel.com>
Sat, 1 Jul 2006 00:38:02 +0000
(20:38 -0400)
This small patch adds back WLED control for S1N models, this was
accidentally removed a while ago.
Signed-off-by: Karol Kozimor <sziwan@hell.org.pl>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/acpi/asus_acpi.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/acpi/asus_acpi.c
b/drivers/acpi/asus_acpi.c
index 07b4c8b872cb9fff1f41678f1868d4066056692f..d1ff387a58d65ddb8bac3908330303dd1c7e6cf0 100644
(file)
--- a/
drivers/acpi/asus_acpi.c
+++ b/
drivers/acpi/asus_acpi.c
@@
-1198,9
+1198,10
@@
static int asus_hotk_get_info(void)
else if (strncmp(string, "L5D", 3) == 0)
hotk->methods->mt_wled = NULL;
/* L5D's WLED is not controlled by ACPI */
- else if (strncmp(string, "M2N", 3) == 0)
+ else if (strncmp(string, "M2N", 3) == 0 ||
+ strncmp(string, "S1N", 3) == 0)
hotk->methods->mt_wled = "WLED";
- /* M2N
has
a usable WLED */
+ /* M2N
and S1N have
a usable WLED */
else if (asus_info) {
if (strncmp(asus_info->oem_table_id, "L1", 2) == 0)
hotk->methods->mled_status = NULL;