linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] tsc2007: remove HR timer, make platform callbacks optional
@ 2009-06-23 11:54 Richard Röjfors
  0 siblings, 0 replies; only message in thread
From: Richard Röjfors @ 2009-06-23 11:54 UTC (permalink / raw)
  To: linux-input
  Cc: Linux Kernel Mailing List, kwangwoo.lee, Thierry Reding,
	Trilok Soni, Andrew Morton

This patch removes the HR timer, since it's bad to do synchronous I2C
in the HR timer callback context. The new implementation makes use
of the global workqueue. The work is scheduled every 5ms when polling
rather than 5 us.

Secondly the platform callbacks are only called if supplied. Makes
the driver to fallback on only pressure calculation to decide when
the pen is up. This is not as accurate as having a function to call,
but that's not possible on all hardware configurations.

--Richard

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-06-23 11:54 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-23 11:54 [PATCH 0/2] tsc2007: remove HR timer, make platform callbacks optional Richard Röjfors

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).