acer-wmi: support Lenovo ideapad S205 Brazos wifi switch
authorLee, Chun-Yi <jlee@suse.com>
Tue, 20 Mar 2012 03:32:49 +0000 (11:32 +0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 26 Mar 2012 19:05:30 +0000 (15:05 -0400)
Vaclav found a new ideapad S205 Brazos machine that used the same
EC register of wireless with S205 but has different product name.

So, add this machine to quirk for support wireless rfkill.

Tested on Lenovo ideapad S205 Brazos

Tested-by: Vaclav Mocek <vmocek@gmail.com>
Acked-by: Ike Panhc <ike.pan@canonical.com>
Cc: Carlos Corbacho <carlos@strangeworlds.co.uk>
Cc: Matthew Garrett <mjg@redhat.com>
Cc: Dmitry Torokhov <dtor@mail.ru>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Thomas Renninger <trenn@suse.de>
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/acer-wmi.c

index c31664438e761fce8c4a2a368cb58070af948559..3b3cd070b9dc88424df04d64714362df3bad5079 100644 (file)
@@ -485,6 +485,15 @@ static struct dmi_system_id acer_quirks[] = {
                },
                .driver_data = &quirk_lenovo_ideapad_s205,
        },
+       {
+               .callback = dmi_matched,
+               .ident = "Lenovo Ideapad S205 (Brazos)",
+               .matches = {
+                       DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Brazos"),
+               },
+               .driver_data = &quirk_lenovo_ideapad_s205,
+       },
        {
                .callback = dmi_matched,
                .ident = "Lenovo 3000 N200",