Input: synaptics-rmi4 - add parameters for dribble packets and palm detect gesture
authorAndrew Duggan <aduggan@synaptics.com>
Wed, 9 Nov 2016 00:48:48 +0000 (16:48 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 9 Nov 2016 01:12:07 +0000 (17:12 -0800)
commit2775e523246e11c5ce90b69226c5e67aa43e64a5
tree858d445c2f8450072686a57a890fe544ed66e342
parent6d0dbeae71f074c67b081eae45cd58fa39dfda2e
Input: synaptics-rmi4 - add parameters for dribble packets and palm detect gesture

The rmi_f11 driver currently disables dribble packets and the palm detect
gesture for all devices. This patch creates a parameter in the 2d sensor
platform data for controlling this functionality on a per device basis.

For more information on dribble packets:
Commit 05ba999fcabb ("HID: rmi: disable dribble packets on Synaptics
touchpads")

For more information on the palm detect gesture:
Commit f097deef59a6 ("HID: rmi: disable palm detect gesture when present")

Signed-off-by: Andrew Duggan <aduggan@synaptics.com>
Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/rmi4/rmi_2d_sensor.h
drivers/input/rmi4/rmi_f01.c
drivers/input/rmi4/rmi_f11.c
include/linux/rmi.h