]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ALPS - rework detection sequence
authorKevin Cernekee <cernekee@gmail.com>
Thu, 14 Feb 2013 06:19:59 +0000 (22:19 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 14 Feb 2013 17:17:57 +0000 (09:17 -0800)
commit5265c9d976e59cf0ac302fc97105ab4ff97dc5fe
tree10ada693aa80f6ea6bce2aacef57dee3b51d74df
parentdd9457c0a7fe2d285c0e2b2d1e4d877e2d02a57d
Input: ALPS - rework detection sequence

If the E6 report test passes, get the E7 and EC reports right away and
then try to match an entry in the table.

Pass in the alps_data struct, so that the detection code will be able to
set operating parameters based on information found during detection.

Change the version (psmouse->model) to report the protocol version only,
in preparation for supporting models that do not show up in the ID table.

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
drivers/input/mouse/alps.h