diff options
author | Karol Kozimor <sziwan@hell.org.pl> | 2006-06-30 19:13:00 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2006-06-30 20:38:02 -0400 |
commit | 96d1142084281ae4601fab02be061e1267e431a3 (patch) | |
tree | d006887c3db7e8a116bb7248a9d7c8c89438f198 /drivers/acpi | |
parent | ffab0d9507dc527ff6d704ec5e7e7ccfee119fb1 (diff) |
ACPI: asus_acpi: add S1N WLED control
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/asus_acpi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/acpi/asus_acpi.c b/drivers/acpi/asus_acpi.c index 07b4c8b872cb..d1ff387a58d6 100644 --- a/drivers/acpi/asus_acpi.c +++ b/drivers/acpi/asus_acpi.c | |||
@@ -1198,9 +1198,10 @@ static int asus_hotk_get_info(void) | |||
1198 | else if (strncmp(string, "L5D", 3) == 0) | 1198 | else if (strncmp(string, "L5D", 3) == 0) |
1199 | hotk->methods->mt_wled = NULL; | 1199 | hotk->methods->mt_wled = NULL; |
1200 | /* L5D's WLED is not controlled by ACPI */ | 1200 | /* L5D's WLED is not controlled by ACPI */ |
1201 | else if (strncmp(string, "M2N", 3) == 0) | 1201 | else if (strncmp(string, "M2N", 3) == 0 || |
1202 | strncmp(string, "S1N", 3) == 0) | ||
1202 | hotk->methods->mt_wled = "WLED"; | 1203 | hotk->methods->mt_wled = "WLED"; |
1203 | /* M2N has a usable WLED */ | 1204 | /* M2N and S1N have a usable WLED */ |
1204 | else if (asus_info) { | 1205 | else if (asus_info) { |
1205 | if (strncmp(asus_info->oem_table_id, "L1", 2) == 0) | 1206 | if (strncmp(asus_info->oem_table_id, "L1", 2) == 0) |
1206 | hotk->methods->mled_status = NULL; | 1207 | hotk->methods->mled_status = NULL; |