]> git.baikalelectronics.ru Git - kernel.git/commit
Input: alps - add sanity checks for non DualPoint devices
authorPali Rohár <pali.rohar@gmail.com>
Fri, 9 Jan 2015 20:48:58 +0000 (12:48 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sun, 11 Jan 2015 23:57:04 +0000 (15:57 -0800)
commit5b6bcafe61148f54e04cfbbd09d762f3de8aa7b3
treef2a0a46f6d5a1f10e3d9c93abaac83e0ce555743
parent6c94181bc9acec6b6b0c90c05a99b065712a78b9
Input: alps - add sanity checks for non DualPoint devices

Make sure that driver does not process bogus packets as trackstick data
when there is no trackstick present and emit warnings in dmesg so potential
issues with trackstick handling will be visible for debugging.

Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/mouse/alps.c