]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ALPS - fix max coordinates for v5 and v7 protocols
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 22 Mar 2015 03:29:34 +0000 (20:29 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Mar 2015 16:14:25 +0000 (09:14 -0700)
commit8be044bfffb47db6a6da972500cc491a82fe49df
tree7474f10b4cc3cf1c380f3e577d4b50bc037824bd
parent79919a9e01995fe19a6ccb7faba03686012971f7
Input: ALPS - fix max coordinates for v5 and v7 protocols

Commit 1031fcbe83afadfbdad0fff7d7e93d653efafa28 ("Input: ALPS - consolidate
setting protocol parameters") inadvertently moved call to
alps_dolphin_get_device_area() from v5 to v7 protocol, causing both
protocols report incorrect maximum values for X and Y axes which resulted
in crash in Synaptics X driver.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=94801
Reported-by: Santiago Gala <sgala@apache.org>
Reported-by: Pali Rohár <pali.rohar@gmail.com>
Acked-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c