classmate-laptop: add missing input_sync call
authorHerton Ronaldo Krzesinski <herton@mandriva.com.br>
Mon, 6 Dec 2010 21:46:19 +0000 (16:46 -0500)
committerMatthew Garrett <mjg@redhat.com>
Fri, 7 Jan 2011 22:03:41 +0000 (17:03 -0500)
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>
drivers/platform/x86/classmate-laptop.c

index 3dabd00b1d5a13d0fee3184b80d8a3e04fdd6dec..911135425224b4e8aab137d9b696500c794aaa71 100644 (file)
@@ -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)