]> git.baikalelectronics.ru Git - kernel.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)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 26 May 2014 22:02:00 +0000 (15:02 -0700)
commit709b47c4abac08ac15e3e1cab2afd78866fb7892
tree38788527e8a31b13e76ee28ca3816248313fb591
parent440bc4e1671dd29beec59282513dc18a751439b8
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