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)
Due to commit cdda911c34006f1089f3c87b1a1f31ab3a4722f2 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>

No differences found