acer-wmi: support Lenovo ideapad S205 wifi switch
authorLee, Chun-Yi <joeyli.kernel@gmail.com>
Sat, 30 Jul 2011 09:00:45 +0000 (17:00 +0800)
committerMatthew Garrett <mjg@redhat.com>
Fri, 5 Aug 2011 19:21:52 +0000 (15:21 -0400)
commit15b956a0b5651bbb1217ec374fdd67291dabb2af
treea0ebb0f7cc05db86592af6ba0e396b813a277f16
parent2c3422d9c475c62adae82743d8507651342925ae
acer-wmi: support Lenovo ideapad S205 wifi switch

The AMW0 function in acer-wmi works on Lenovo ideapad S205 for control
the wifi hardware state. We also found there have a 0x78 EC register
exposes the state of wifi hardware switch on the machine.

So, add this patch to support Lenovo ideapad S205 wifi hardware switch
in acer-wmi driver.

Reference: bko#37892
https://bugzilla.kernel.org/show_bug.cgi?id=37892

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>
Tested-by: Florian Heyer <heyho@flanto.de>
Signed-off-by: Lee, Chun-Yi <jlee@suse.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/acer-wmi.c