linux-kernel-test/drivers/misc
Henrique de Moraes Holschuh b2c985e7eb ACPI: thinkpad-acpi: refactor hotkey_get and hotkey_set (v2)
Refactor and organize the code a bit for the NVRAM polling support:

1. Split hotkey_get/set into hotkey_status_get/set and hotkey_mask_get/set;
2. Cache the status of hot key mask for later driver use;
3. Make sure the cache of hot key mask is refreshed when needed;
4. log a printk notice when the firmware doesn't set the hot key
   mask to exactly what we asked it to;
5. Add proper locking to the data structures.

Only (4) should be user-noticeable, but there is a chance (5) fixes
some unknown/unreported race conditions.

Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Signed-off-by: Len Brown <len.brown@intel.com>
2008-02-01 22:26:06 -05:00
..
hdpuftrs
ibmasm kobject: convert ibmasm to use kref, not kobject 2008-01-24 20:40:08 -08:00
asus-laptop.c
atmel-ssc.c
eeprom_93cx6.c
fujitsu-laptop.c
ioc4.c
Kconfig
lkdtm.c
Makefile
msi-laptop.c
phantom.c
sony-laptop.c sony-laptop: fit input devices into sysfs tree 2007-11-21 14:15:53 -05:00
thinkpad_acpi.c ACPI: thinkpad-acpi: refactor hotkey_get and hotkey_set (v2) 2008-02-01 22:26:06 -05:00
thinkpad_acpi.h ACPI: thinkpad-acpi: refactor hotkey_get and hotkey_set (v2) 2008-02-01 22:26:06 -05:00
tifm_7xx1.c tifm: Convert from class_device to device for TI flash media 2008-01-24 20:40:06 -08:00
tifm_core.c tifm: Convert from class_device to device for TI flash media 2008-01-24 20:40:06 -08:00