]> git.baikalelectronics.ru Git - kernel.git/commit
Input: ALPS - fix command mode check
authorKevin Cernekee <cernekee@gmail.com>
Thu, 14 Feb 2013 06:24:22 +0000 (22:24 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 14 Feb 2013 17:18:16 +0000 (09:18 -0800)
commit8e0f2c9847634298a3a29c238651621fa1e603ea
tree1a0e6dc72346515e85d5d24747c7d2aff7c5dddc
parent0aa00a595b736a7badbdc411898904a1270e5dca
Input: ALPS - fix command mode check

Pinnacle class devices should return "88 07 xx" or "88 08 xx" when
entering command mode.  If either the first byte or the second byte is
invalid, return an error.

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