ACPI: thinkpad-acpi: preserve radio state across shutdown
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Sun, 11 Jan 2009 05:01:02 +0000 (03:01 -0200)
committerLen Brown <len.brown@intel.com>
Thu, 15 Jan 2009 18:36:25 +0000 (13:36 -0500)
commit90d9d3c79c44bcf95bc487e9bbceaff2de370310
tree3cb097801f97c106bef5cc743db86bc665a15ccb
parent153f82207c51193e4d6a7e6f0e3f9442eabeba1c
ACPI: thinkpad-acpi: preserve radio state across shutdown

Store in firmware NVRAM the radio state on machine shutdown for WWAN and
bluetooth.  Also, try to set the initial boot state of these radios as the
rfkill default state for their respective classes.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/platform/x86/thinkpad_acpi.c