]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
Input: synaptics - change min/max quirk table to pnp-id matching
authorHans de Goede <hdegoede@redhat.com>
Tue, 20 May 2014 05:54:09 +0000 (22:54 -0700)
committerJiri Slaby <jslaby@suse.cz>
Sat, 6 Dec 2014 14:02:56 +0000 (15:02 +0100)
commita847eeed11769b29fa4a944e269cf89a08f32c26
tree0ca6a7678ffe4fdfb276e697536a4e740bf199a9
parentea70c325e0ec1e393ee7caf5c1b2496ee743cb71
Input: synaptics - change min/max quirk table to pnp-id matching

commit 0f68f39c393bc06ac5ccc8794f0e2ed841e41c3e upstream.

Most of the affected models share pnp-ids for the touchpad. So switching
to pnp-ids give us 2 advantages:
1) It shrinks the quirk list
2) It will lower the new quirk addition frequency, ie the recently added W540
   quirk would not have been necessary since it uses the same LEN0034 pnp ids
   as other models already added before it

As an added bonus it actually puts the quirk on the actual psmouse, rather
then on the machine, which is technically more correct.

Cc: stable@vger.kernel.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/input/mouse/synaptics.c