提交 72135d21 编写于 作者: H Herton Ronaldo Krzesinski 提交者: Matthew Garrett

classmate-laptop: add missing input_sync call

Add missing input_sync call in cmpc_keys_handler function.
Signed-off-by: NHerton Ronaldo Krzesinski <herton@mandriva.com.br>
Signed-off-by: NMatthew Garrett <mjg@redhat.com>
Acked-by: NThadeu Lima de Souza Cascardo <cascardo@holoscopio.com>
上级 698e1641
......@@ -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)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册