From: Soeren Sonnenburg Date: Fri, 20 Jul 2007 04:29:32 +0000 (-0400) Subject: Input: appletouch - improve powersaving for Geyser3 devices X-Git-Tag: v2.6.23-rc1~207^2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a6eb676d3bc4d7a6feab200a92437b62ad298da;p=pandora-kernel.git Input: appletouch - improve powersaving for Geyser3 devices The appletouch geyser3 devices found in the Intel Macs (and possibly some later PPC ones?) send a constant stream of packets after the first touch. This results in the kernel waking up around once every couple of milliseconds to process them, making it almost impossible to spend any significant amount of time in C3 state on a dynamic HZ kernel. Sending the mode initialization code makes the device shut up until it's touched again. This patch does so after receiving 10 packets with no interesting content. Signed-off-by: Soeren Sonnenburg Signed-off-by: Matthew Garrett Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed