acer-wmi: No wifi rfkill on Sony machines
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Fri, 23 Mar 2012 04:36:44 +0000 (12:36 +0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 26 Mar 2012 19:45:25 +0000 (15:45 -0400)
The wireless rfkill should charged by sony-laptop but not acer-wmi.
So, add Sony's SNY5001 acpi device to blacklist in acer-wmi.

Tested on Sony Vaio

Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Mattia Dongili <malattia@linux.it>
Cc: Dimitris N <ddarlac@gmail.com>
Tested-by: Dimitris N <ddarlac@gmail.com>
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/acer-wmi.c

index 3b3cd070b9dc88424df04d64714362df3bad5079..b253e219297e924ab63de51ebbd29ea6759aede3 100644 (file)
@@ -719,6 +719,7 @@ static const struct acpi_device_id norfkill_ids[] = {
        { "VPC2004", 0},
        { "IBM0068", 0},
        { "LEN0068", 0},
+       { "SNY5001", 0},        /* sony-laptop in charge */
        { "", 0},
 };