]> git.proxmox.com Git - mirror_ubuntu-artful-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)
commitc164c147c9a0a371c4710186972a02b6ee2eb984
tree7474f10b4cc3cf1c380f3e577d4b50bc037824bd
parenta736775db683174269c65c7c5cc8e5ee534e7681
Input: ALPS - fix max coordinates for v5 and v7 protocols

Commit 3296f71cd2fde7a2ad52e66a27eae419f6328066 ("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