]> err.no Git - linux-2.6/commit
Input: implement proper timer rounding for polled devices
authorStephen Hemminger <shemminger@linux-foundation.org>
Wed, 21 Nov 2007 19:03:37 +0000 (14:03 -0500)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 21 Jan 2008 06:11:07 +0000 (01:11 -0500)
commit374766bc2aa784f7a0833cc7563f057241ca7815
treedf219265a684543a40a0aade3a8a47b611572b4d
parenta512a8cc20bbf74700d368ecb0a61dd9d8f1df48
Input: implement proper timer rounding for polled devices

Rounding doesn't matter for the first tick, but we want
succeeding ticks to be aligned on second boundary if poll
interval is large enough.

Also: cancel_rearming_delayed_workqueue is marked as obsolete
in workqueue.h so use cancel_delayed_work_sync.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Acked-by: Arjan van de Ven <arjan@linux.intel.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/input-polldev.c