linux/drivers/platform/x86
Henrique de Moraes Holschuh 7f0cf712a7 thinkpad-acpi: make driver events work in NVRAM poll mode
Thadeu Lima de Souza Cascardo reports this:

Brightness notification does not work until the user writes to
hotkey_mask attribute.  That's because the polling thread will only run
if hotkey_user_mask is set and someone is reading the input device or
if hotkey_driver_mask is set.  In this second case, this condition is
not tested after the mask is changed, because the brightness and
volume drivers are started after the hotkey drivers.

Fix tpacpi_hotkey_driver_mask_set() to call hotkey_poll_setup(), so
that the poller kthread will be started when needed.

Reported-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Tested-by: Thadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
Signed-off-by: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: stable@kernel.org
2010-02-25 21:37:23 -03:00
..
acer-wmi.c acer-wmi: Respect current backlight level when loading 2010-02-19 00:19:26 -05:00
acerhdf.c drivers/platform/x86/acerhdf.c: check BIOS information whether it begins with string of table 2009-12-24 00:17:09 -05:00
asus_acpi.c asus_acpi: convert to seq_file 2009-12-24 00:14:51 -05:00
asus-laptop.c asus-laptop: change light sens default values. 2009-12-15 20:01:36 -05:00
classmate-laptop.c classmate-laptop: add support for Classmate PC ACPI devices 2009-12-24 01:16:04 -05:00
compal-laptop.c drop explicit include of autoconf.h 2009-12-12 13:08:15 +01:00
dell-laptop.c dell-laptop: add __init to init functions 2009-12-10 00:02:31 -05:00
dell-wmi.c dell-wmi - fix condition to abort driver loading 2009-12-30 02:49:03 -05:00
eeepc-laptop.c eeepc-laptop: disable wireless hotplug for 1201N 2010-01-16 01:50:05 -05:00
fujitsu-laptop.c Merge branch 'misc-2.6.33' into release 2009-12-24 01:19:00 -05:00
hp-wmi.c hp-wmi: remove double free caused by merge conflict 2010-01-01 14:04:25 -05:00
intel_menlow.c ACPICA: Add post-order callback to acpi_walk_namespace 2009-11-24 21:31:10 -05:00
Kconfig eeepc-laptop: switch to using sparse keymap library 2010-01-16 01:49:41 -05:00
Makefile classmate-laptop: add support for Classmate PC ACPI devices 2009-12-24 01:16:04 -05:00
msi-laptop.c
msi-wmi.c dell-wmi, hp-wmi, msi-wmi: check wmi_get_event_data() return value 2009-12-30 02:48:52 -05:00
panasonic-laptop.c Merge branches 'release', 'APERF', 'ARAT', 'misc', 'kelvin', 'device-lock' and 'bjorn.notify' into release 2009-04-07 18:18:42 -04:00
sony-laptop.c sony-laptop - fix using of uninitialized variable 2010-01-16 15:55:43 -05:00
tc1100-wmi.c tc1100-wmi - switch to using dev_pm_ops 2009-12-16 12:53:33 -05:00
thinkpad_acpi.c thinkpad-acpi: make driver events work in NVRAM poll mode 2010-02-25 21:37:23 -03:00
topstar-laptop.c topstar-laptop: add new driver for hotkeys support on Topstar N01 2009-09-19 01:16:13 -04:00
toshiba_acpi.c toshiba_acpi: convert to seq_file 2009-12-24 00:15:10 -05:00
toshiba_bluetooth.c Toshiba Bluetooth Enabling driver (RFKill handler v3) 2009-12-16 12:09:46 -05:00
wmi.c ACPI: WMI: Survive BIOS with duplicate GUIDs 2009-12-30 02:49:04 -05:00