diff options
author | Herton Ronaldo Krzesinski <herton@mandriva.com.br> | 2010-12-07 00:46:19 +0300 |
---|---|---|
committer | Matthew Garrett <mjg@redhat.com> | 2011-01-08 01:03:41 +0300 |
commit | 72135d21b587debcbcc57e0dbcc8bcfa4dacb661 (patch) | |
tree | 040fe975f59f2ae2cb133a6d9fa6ba0bd75e4fb0 /drivers/platform/x86 | |
parent | 698e1641a37f833dd26ee2fde5eed426cd97880b (diff) | |
download | linux-72135d21b587debcbcc57e0dbcc8bcfa4dacb661.tar.xz |
classmate-laptop: add missing input_sync call
Add missing input_sync call in cmpc_keys_handler function.
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>
Diffstat (limited to 'drivers/platform/x86')
-rw-r--r-- | drivers/platform/x86/classmate-laptop.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c index 3dabd00b1d5a..911135425224 100644 --- a/drivers/platform/x86/classmate-laptop.c +++ b/drivers/platform/x86/classmate-laptop.c @@ -657,6 +657,7 @@ static void cmpc_keys_handler(struct acpi_device *dev, u32 event) code = cmpc_keys_codes[event & 0x0F]; inputdev = dev_get_drvdata(&dev->dev); input_report_key(inputdev, code, !(event & 0x10)); + input_sync(inputdev); } static void cmpc_keys_idev_init(struct input_dev *inputdev) |