From: Lee, Chun-Yi Date: Tue, 20 Mar 2012 03:32:49 +0000 (+0800) Subject: acer-wmi: support Lenovo ideapad S205 Brazos wifi switch X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c08f2086cd0838465394eb51c2649ce91fbb8cc3;p=mv-sheeva.git acer-wmi: support Lenovo ideapad S205 Brazos wifi switch 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 Acked-by: Ike Panhc Cc: Carlos Corbacho Cc: Matthew Garrett Cc: Dmitry Torokhov Cc: Corentin Chary Cc: Thomas Renninger Signed-off-by: Lee, Chun-Yi Signed-off-by: Matthew Garrett --- diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c index c31664438e7..3b3cd070b9d 100644 --- a/drivers/platform/x86/acer-wmi.c +++ b/drivers/platform/x86/acer-wmi.c @@ -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",