summaryrefslogtreecommitdiffstats
path: root/drivers/input/mouse/synaptics.h
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2014-12-29 14:43:44 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2015-03-06 11:25:32 -0800
commitde4e374b401a736a2c278babe99b94756060d0e8 (patch)
treef0fe075ac130976e35c6a5eac5f7ec3e3b081d2e /drivers/input/mouse/synaptics.h
parent99e14c1e23108c34c4216d68c488fcd937310c32 (diff)
downloadtalos-obmc-linux-de4e374b401a736a2c278babe99b94756060d0e8.tar.gz
talos-obmc-linux-de4e374b401a736a2c278babe99b94756060d0e8.zip
Input: synaptics - switch ForcePad detection to PNP IDs
According to Synaptics devices with ForcePads use SYN300D and SYN3014 as PNP IDs, so let's switch from DMI-bases detection scheme to PNP-based one, which should be more reliable. Suggested-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@redhat.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/mouse/synaptics.h')
-rw-r--r--drivers/input/mouse/synaptics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/mouse/synaptics.h b/drivers/input/mouse/synaptics.h
index aedc3299b14e..fb3838ca28de 100644
--- a/drivers/input/mouse/synaptics.h
+++ b/drivers/input/mouse/synaptics.h
@@ -168,6 +168,7 @@ struct synaptics_data {
unsigned long press_start;
bool press;
bool report_press;
+ bool is_forcepad;
};
void synaptics_module_init(void);
OpenPOWER on IntegriCloud