[PATCH 0/2] tsc2007: remove HR timer, make platform callbacks optional

From: Richard Röjfors
Date: Tue Jun 23 2009 - 07:54:55 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/