]> git.baikalelectronics.ru Git - kernel.git/commit
Input: appletouch - apply idle reset logic to all touchpads
authorAnton Ekblad <valderman@gmail.com>
Mon, 22 Oct 2007 04:59:59 +0000 (00:59 -0400)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 Oct 2007 04:59:59 +0000 (00:59 -0400)
commit31479f57dbc16cebb6193236dfad8bca0994f59d
tree88373e1e0c42a3bbd511123d68bf44e2c2916ebf
parent8293abd4e054c1c189b4be9e64596ac3cbce6ab2
Input: appletouch - apply idle reset logic to all touchpads

Not only Geyser 3 but also Geyser 1 need to be reset after they become
idle to stop them from needlessly waking up the kernel. Do idle reset
on all touchpads, regardless of their version - if we see 10 empty
packets the touchpad needs to be reset; good touchpads should not send
empty packets anyway.

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/mouse/appletouch.c