Skip to content

Commit

Permalink
classmate-laptop: add missing input_sync call
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Herton Ronaldo Krzesinski authored and Matthew Garrett committed Jan 7, 2011
1 parent 698e164 commit 72135d2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/platform/x86/classmate-laptop.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 72135d2

Please sign in to comment.