OSDN Git Service

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)
commit34412ba28232e8b3b4955a4bbe53c9df4c7b2d1a
treef2a0a46f6d5a1f10e3d9c93abaac83e0ce555743
parentdfba8600024abb09dbabfcd9d3c887848f4b154c
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