Home
last modified time | relevance | path

Searched hist:"4 eb6f91b95e7618eae0103b6cba7c7f01f9d40f3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/input/touchscreen/
H A Dad7877.cdiff 4eb6f91b95e7618eae0103b6cba7c7f01f9d40f3 Tue Mar 09 22:38:47 CST 2010 Michael Hennerich <michael.hennerich@analog.com> Input: ad7877 - increase pen up imeout

The time interval between consecutive interrupts depends on a number of
tunables: first_conversion_delay, acquisition_time, averaging and foremost
the pen_down_acc_interval.

Since the mod_timer() action for the PEN UP event happens in the
spi_async() callback function, latencies incurred by the spi bus drivers
also need to be taken into account.

So all in all, give the PEN UP event a bit more wiggle room and increase
timeout to 100ms.

Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>