ACPI: thinkpad-acpi: preserve radio state across shutdown
commit8e6fc70f7c239f2fd94372deee58cfbd83e2cfbb
authorHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:21:46 +0000 (13 09:21 -0300)
committerHenrique de Moraes Holschuh <hmh@hmh.eng.br>
Fri, 13 May 2011 12:21:46 +0000 (13 09:21 -0300)
tree406b077ecfff1059af95f962605e1b37345f890d
parent3e43a0aa86f2d0bb61cebd73a98a3600193f7450
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>
drivers/platform/x86/thinkpad_acpi.c