]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit56fd340ebb533cb45c5eaf350cf889c43c5911e6
tree1a0e6dc72346515e85d5d24747c7d2aff7c5dddc
parentf673ceb11b880e8535476326612e54c3e0cace5b
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