diff options
author | Alexandre Oliva <lxoliva@fsfla.org> | 2014-11-06 03:52:08 +0000 |
---|---|---|
committer | Alexandre Oliva <lxoliva@fsfla.org> | 2014-11-06 03:52:08 +0000 |
commit | 67485d612ee6d7d9167e706315a7649d5dc3365e (patch) | |
tree | ad32b263de33e4445d8ffcefaccb739f0682ac5c /freed-ora/current/f20/Input-synaptics-gate-forcepad-support-by-DMI-check.patch | |
parent | f83945950b49f073cd75bca0a228d7598c0714fa (diff) | |
download | linux-libre-raptor-67485d612ee6d7d9167e706315a7649d5dc3365e.tar.gz linux-libre-raptor-67485d612ee6d7d9167e706315a7649d5dc3365e.zip |
3.17.2-200.fc20.gnu
Diffstat (limited to 'freed-ora/current/f20/Input-synaptics-gate-forcepad-support-by-DMI-check.patch')
-rw-r--r-- | freed-ora/current/f20/Input-synaptics-gate-forcepad-support-by-DMI-check.patch | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/freed-ora/current/f20/Input-synaptics-gate-forcepad-support-by-DMI-check.patch b/freed-ora/current/f20/Input-synaptics-gate-forcepad-support-by-DMI-check.patch index ba2eb1d18..a775eef55 100644 --- a/freed-ora/current/f20/Input-synaptics-gate-forcepad-support-by-DMI-check.patch +++ b/freed-ora/current/f20/Input-synaptics-gate-forcepad-support-by-DMI-check.patch @@ -1,4 +1,3 @@ -From 2e34e3ea944701855624f77f976db48cd8cb3828 Mon Sep 17 00:00:00 2001 From: Dmitry Torokhov <dmitry.torokhov@gmail.com> Date: Tue, 2 Sep 2014 09:49:18 -0700 Subject: [PATCH] Input: synaptics - gate forcepad support by DMI check @@ -10,15 +9,15 @@ Cc: stable@vger.kernel.org Reported-by: Nicole Faerber <nicole.faerber@kernelconcepts.de> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com> --- - drivers/input/mouse/synaptics.c | 23 ++++++++++++++++++++++- + drivers/input/mouse/synaptics.c | 22 +++++++++++++++++++++- drivers/input/mouse/synaptics.h | 8 ++------ - 2 files changed, 24 insertions(+), 7 deletions(-) + 2 files changed, 23 insertions(+), 7 deletions(-) diff --git a/drivers/input/mouse/synaptics.c b/drivers/input/mouse/synaptics.c -index a50a2a7a43f7..b08acfe23f2c 100644 +index 6394d9b5bfd3..9031a0a28ea4 100644 --- a/drivers/input/mouse/synaptics.c +++ b/drivers/input/mouse/synaptics.c -@@ -615,6 +615,8 @@ static void synaptics_parse_agm(const unsigned char buf[], +@@ -607,6 +607,8 @@ static void synaptics_parse_agm(const unsigned char buf[], priv->agm_pending = true; } @@ -27,7 +26,7 @@ index a50a2a7a43f7..b08acfe23f2c 100644 static int synaptics_parse_hw_state(const unsigned char buf[], struct synaptics_data *priv, struct synaptics_hw_state *hw) -@@ -644,7 +646,7 @@ static int synaptics_parse_hw_state(const unsigned char buf[], +@@ -636,7 +638,7 @@ static int synaptics_parse_hw_state(const unsigned char buf[], hw->left = (buf[0] & 0x01) ? 1 : 0; hw->right = (buf[0] & 0x02) ? 1 : 0; @@ -36,7 +35,7 @@ index a50a2a7a43f7..b08acfe23f2c 100644 /* * ForcePads, like Clickpads, use middle button * bits to report primary button clicks. -@@ -1613,10 +1615,29 @@ static const struct dmi_system_id olpc_dmi_table[] __initconst = { +@@ -1667,11 +1669,29 @@ static const struct dmi_system_id __initconst cr48_dmi_table[] = { { } }; @@ -52,11 +51,11 @@ index a50a2a7a43f7..b08acfe23f2c 100644 + { } +}; + -+ void __init synaptics_module_init(void) { impaired_toshiba_kbc = dmi_check_system(toshiba_dmi_table); broken_olpc_ec = dmi_check_system(olpc_dmi_table); + cr48_profile_sensor = dmi_check_system(cr48_dmi_table); + + /* + * Unfortunately ForcePad capability is not exported over PS/2, |