HID: rmi: disable dribble packets on Synaptics touchpads
authorAndrew Duggan <aduggan@synaptics.com>
Wed, 25 Feb 2015 01:36:49 +0000 (17:36 -0800)
committerJiri Kosina <jkosina@suse.cz>
Wed, 25 Feb 2015 14:26:44 +0000 (15:26 +0100)
commit05ba999fcabb747214d177279de55f00a74850d4
treeb317b87cd4941357810a899725b515f4fcff5a63
parentdd8df28459dcad4da5dec94d12801b149a895c36
HID: rmi: disable dribble packets on Synaptics touchpads

When a finger is lifted from a Synaptics touchpad the firmware will continue
to interrupts for up to a second. These additional interrupts are know and
dribble interrupts. Since the data read from the touchpad does not change
the input subsystem only reports a single event. This makes the servicing of
dribble interrupts on Linux unnecessary. This patch simply disables dribble
interupts when configuring the touchpad.

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Tested-by: Gabriele Mazzotta <gabriele.mzt@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-rmi.c