]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Input: appletouch - fix idle reset logic
authorThomas Rohwer <tr@tng.de>
Tue, 25 Sep 2007 04:06:25 +0000 (00:06 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 25 Sep 2007 04:06:25 +0000 (00:06 -0400)
commitcb560737676260ac15b68d426305ad5e755417ea
treeb39f035253b59294fd8c6a24ad7f96f731de0998
parent7b6dff982b063b1b15c30508f16863e5449e7229
Input: appletouch - fix idle reset logic

Idle count should only be incremented when touchpad button
is not pressed, otherwise reset may happen at a wrong time
and touchpad will never report button release event.

Signed-off-by: Thomas Rohwer <trohwer@tng.de>
Acked-by: Matthew Garrett <mjg59@srcf.ucam.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/appletouch.c