Input: ALPS - rework detection of Pinnacle AGx touchpads
authorKevin Cernekee <cernekee@gmail.com>
Thu, 14 Feb 2013 06:23:34 +0000 (22:23 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 14 Feb 2013 17:18:11 +0000 (09:18 -0800)
commitf673ceb11b880e8535476326612e54c3e0cace5b
treebb482c8461b0c299124e5e52e7d207d2b4dc94d9
parent50e8b2162feb851f5af1372ba996640ad8d66fc9
Input: ALPS - rework detection of Pinnacle AGx touchpads

The official ALPS driver uses the EC report, not the E7 report, to detect
these devices.  Also, they check for a range of values; the original
table-based code only checked for two specific ones.

Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
Tested-by: Dave Turvene <dturvene@dahetral.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c