]> git.baikalelectronics.ru Git - kernel.git/commit
classmate-laptop: always call input_sync() after input_report_switch()
authorCarlos Alberto Lopez Perez <clopez@igalia.com>
Thu, 2 Aug 2012 17:50:21 +0000 (19:50 +0200)
committerMatthew Garrett <mjg@redhat.com>
Fri, 17 Aug 2012 21:34:42 +0000 (17:34 -0400)
commitf09180cf9df0310eeda5446c802ae4a8fa64f26c
tree07eeadff66cf83c353d9f3ef115c9530484701c5
parentfef11c824bfe1b40878f8c807fd96e8714752928
classmate-laptop: always call input_sync() after input_report_switch()

Due to commit e11540fa5520c2d96e71880717683a8409a5fc48 evdev only
becomes readable when the buffer contains an EV_SYN/SYN_REPORT event.

So in order to read the tablet sensor data as it happens we need to
ensure that we always call input_sync() after input_report_switch()

Signed-off-by: Carlos Alberto Lopez Perez <clopez@igalia.com>
Signed-off-by: Matthew Garrett <mjg@redhat.com>
drivers/platform/x86/classmate-laptop.c