From: Samu Onkalo Date: Mon, 23 Nov 2009 18:01:33 +0000 (-0800) Subject: Input: polled device - do not start polling if interval is zero X-Git-Tag: v2.6.33-rc1~337^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11bb4cc7c772963952304398f999fc195b0da285;p=pandora-kernel.git Input: polled device - do not start polling if interval is zero If the poll interval is set to 0 via new sysfs entry and device is opened after that, polling is started with interval 0. This causes huge CPU load. Same happens if the rate was 0 when the device was closed and then reopened. Signed-off-by: Samu Onkalo Signed-off-by: Dmitry Torokhov --- Reading git-diff-tree failed