]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - drivers/input/mouse/synaptics.c
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)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 26 May 2014 22:02:00 +0000 (15:02 -0700)
commit0f68f39c393bc06ac5ccc8794f0e2ed841e41c3e
tree38788527e8a31b13e76ee28ca3816248313fb591
parente2f611029b370bb7a04236215ad4b36aa8cb98cd
Input: synaptics - change min/max quirk table to pnp-id matching

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>
drivers/input/mouse/synaptics.c