I have attempted to separate what looked like it might be a painful big patch into two logically distinct smaller patches. Fortunately no lines of code are touched by both patches, so it's possible to consider their changes independently. 0001 is relative to the current master HEAD. Firstly, 0001 addresses changes in the structure of the driver and brings the driver up to date with respect to TI's datasheet errata (March 2008), but doesn't change the bahaviour of the state machine at all. Secondly, 0002 modifies the state machine behavior for improved stability. It uses PENDAV mode, rather than DAV mode, which provides a regular stream of interrupts while the pen is down. In order to compensate for IRQs which can't be handled synchronously, a saturating counting scheme is added, and if there are any IRQs that haven't yet been handled when an SPI read completes, or the pen-up timeout expires, then another SPI read is started. For additional stability, the batch delay and pen-up timeout are increased in order to limit the rate of the interrupts. -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html