]> git.karo-electronics.de Git - karo-tx-linux.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:29:19 +0000 (17:29 -0400)
commit973713edb3163c0386e36826166308f95adf87e4
treec768175a659ea349d96f82d246e17447f6776619
parent213364492001babf05cf3b997ea201fde7a8c67e
classmate-laptop: always call input_sync() after input_report_switch()

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>
drivers/platform/x86/classmate-laptop.c