aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>2010-12-06 16:46:19 -0500
committerMatthew Garrett <mjg@redhat.com>2011-01-07 17:03:41 -0500
commit72135d21b587debcbcc57e0dbcc8bcfa4dacb661 (patch)
tree040fe975f59f2ae2cb133a6d9fa6ba0bd75e4fb0 /drivers/platform
parent698e1641a37f833dd26ee2fde5eed426cd97880b (diff)
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')
-rw-r--r--drivers/platform/x86/classmate-laptop.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c
index 3dabd00b1d5..91113542522 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)
657 code = cmpc_keys_codes[event & 0x0F]; 657 code = cmpc_keys_codes[event & 0x0F];
658 inputdev = dev_get_drvdata(&dev->dev); 658 inputdev = dev_get_drvdata(&dev->dev);
659 input_report_key(inputdev, code, !(event & 0x10)); 659 input_report_key(inputdev, code, !(event & 0x10));
660 input_sync(inputdev);
660} 661}
661 662
662static void cmpc_keys_idev_init(struct input_dev *inputdev) 663static void cmpc_keys_idev_init(struct input_dev *inputdev)