dell-laptop: Pay attention to which devices the hardware switch controls
authorMatthew Garrett <mjg@redhat.com>
Wed, 10 Feb 2010 19:44:03 +0000 (14:44 -0500)
committerMatthew Garrett <mjg@redhat.com>
Thu, 25 Feb 2010 16:50:50 +0000 (11:50 -0500)
commitc6760ac4268b6dbe03d74e5faef35bc862a82542
tree85b244b524c7d9b3037840e723b1f85a18f6e964
parent116ee77b2858d9c89c0327f3a47c8ba864bf4a96
dell-laptop: Pay attention to which devices the hardware switch controls

Right now, we assume that the hardware rfkill switch on Dells toggles all
radio devices. In fact, this can be configured in the BIOS and so right
now we may mark a device as hardware killed even when it isn't. Add code
to query the devices controlled by the switch, and use this when
determining the hardware kill state of a radio.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/dell-laptop.c