]> git.baikalelectronics.ru Git - kernel.git/commit
dell-laptop: Toggle the unsupported hardware killswitch
authorKeng-Yu Lin <keng-yu.lin@canonical.com>
Tue, 15 Feb 2011 09:36:07 +0000 (17:36 +0800)
committerMatthew Garrett <mjg@redhat.com>
Mon, 21 Feb 2011 22:06:21 +0000 (17:06 -0500)
commitf63f0e2446bba94524c7af6c1705e59b083eef51
treeabf83be40e34122d5c18a90ac5e48b0ddcbebcd9
parent2cdb6251983fd8c1c79689f4ae8a132d4cee0ae8
dell-laptop: Toggle the unsupported hardware killswitch

It is found on Dell Inspiron 1018 that the firmware reports that the hardware
killswitch is not supported. This makes the rfkill key not functional.

This patch forces the driver to toggle the firmware rfkill status in the case
that the hardware killswitch is indicated as unsupported by the firmware.

Signed-off-by: Keng-Yu Lin <keng-yu.lin@canonical.com>
Tested-by: Alessio Igor Bogani <abogani@texware.it>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/dell-laptop.c