linux-stable/drivers/platform/x86
Herton Ronaldo Krzesinski 698e1641a3 classmate-laptop: little optimization for cmpc_rfkill_block
We don't need to call bios/acpi (cmpc_set_rfkill_wlan) if the blocked
state is already set to the same value (little optimization). This can
happen for example if we initialize the module with same initial
hardware state (rfkill core always call cmpc_rfkill_block on
initialization here).

Also GWRI method only accepts 0 or 1 for setting rfkill block, as can be
seen on AML code from acpidump->DSDT from a classmate sample I have, so
should be fine setting state only to 0 or 1 directly.

Signed-off-by: Herton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
Acked-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
2011-01-07 17:03:41 -05:00
..
acer-wmi.c Don't show error if Acer WMI is not found 2010-10-21 09:36:44 -04:00
acerhdf.c acerhdf: fix resource reclaim in error path 2010-08-03 09:49:01 -04:00
asus-laptop.c asus-laptop: add wimax and wwan support 2010-11-24 12:00:15 -05:00
asus_acpi.c drivers/platform/x86: Adjust confusing if indentation 2010-08-16 11:54:20 -04:00
classmate-laptop.c classmate-laptop: little optimization for cmpc_rfkill_block 2011-01-07 17:03:41 -05:00
compal-laptop.c platform/x86: move rfkill for Dell Mini 1012 to compal-laptop 2010-08-16 11:55:00 -04:00
dell-laptop.c dell-laptop: Add debugfs support 2010-10-21 09:36:49 -04:00
dell-wmi.c Input: dell-wmi - switch to using sparse keymap library 2010-10-21 09:36:43 -04:00
eeepc-laptop.c platform-x86: sync eeepc-laptop and asus-laptop 2010-10-21 09:36:43 -04:00
eeepc-wmi.c eeepc-wmi: fix compiler warning 2010-11-24 12:00:09 -05:00
fujitsu-laptop.c fujitsu-laptop: make needlessly global symbols static 2010-08-03 09:49:00 -04:00
hdaps.c Move hdaps driver to platform/x86 2010-10-21 10:10:43 -04:00
hp-wmi.c ACPI, hp-wmi: Fix memory leak in acpi query 2010-11-24 12:07:10 -05:00
ibm_rtl.c ibm_rtl: _RTL_ is not available in UEFI mode 2010-11-24 12:00:03 -05:00
ideapad-laptop.c ideapad: Add param: no_bt_rfkill 2010-10-21 09:36:51 -04:00
intel_ips.c drm/i915, intel_ips: When i915 loads after IPS, make IPS relink to i915. 2010-12-23 09:51:36 +00:00
intel_ips.h drm/i915, intel_ips: When i915 loads after IPS, make IPS relink to i915. 2010-12-23 09:51:36 +00:00
intel_menlow.c intel_menlow: fix memory leaks in error path 2010-08-03 09:48:40 -04:00
intel_pmic_gpio.c Remove duplicate includes from many files 2010-10-27 18:03:18 -07:00
intel_rar_register.c rar: Fix off by one error 2010-08-24 10:42:08 -07:00
intel_scu_ipc.c intel_scu_ipc: Utility driver for intel scu ipc 2011-01-07 17:03:40 -05:00
intel_scu_ipcutil.c intel_scu_ipc: Utility driver for intel scu ipc 2011-01-07 17:03:40 -05:00
Kconfig intel_scu_ipc: Utility driver for intel scu ipc 2011-01-07 17:03:40 -05:00
Makefile intel_scu_ipc: Utility driver for intel scu ipc 2011-01-07 17:03:40 -05:00
msi-laptop.c msi-laptop: make struct rfkill_ops const 2010-08-03 09:49:00 -04:00
msi-wmi.c msi-wmi: fix semantically incorrect use of keycode instead of scancode 2010-11-24 12:00:28 -05:00
panasonic-laptop.c panasonic-laptop: Simplify calls to acpi_pcc_retrieve_biosdata 2010-10-21 10:10:50 -04:00
sony-laptop.c llseek: automatically add .llseek fop 2010-10-15 15:53:27 +02:00
tc1100-wmi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
thinkpad_acpi.c drivers/platform/x86: Remove unnecessary semicolons 2011-01-07 17:03:40 -05:00
topstar-laptop.c topstar-laptop - switch to using sparse keymap library 2010-10-21 09:36:42 -04:00
toshiba_acpi.c toshiba_acpi.c: Add key_entry for a lone FN keypress 2010-11-24 11:59:37 -05:00
toshiba_bluetooth.c ACPI: replace acpi_integer by u64 2010-01-28 01:47:33 -05:00
wmi.c WMI: Cater for multiple events with same GUID 2011-01-07 17:03:41 -05:00
xo1-rfkill.c Add OLPC XO-1 rfkill driver 2010-10-21 10:10:44 -04:00