]> git.baikalelectronics.ru Git - kernel.git/commit
mfd: ti_am335x_tscadc: Fix idle timeout value
authorMatthias Kaehlcke <matthias.list@kaehlcke.net>
Tue, 10 Sep 2013 21:02:18 +0000 (23:02 +0200)
committerLee Jones <lee.jones@linaro.org>
Wed, 23 Oct 2013 15:20:46 +0000 (16:20 +0100)
commit399d37f217dea6eb914df9b60ac8db3880f9e26d
tree971c15a0003ee7b8cb68dc74663896e3d5b5bdf8
parentf6ef5353f10a75452308b3be9f9877112d8a07aa
mfd: ti_am335x_tscadc: Fix idle timeout value

The old timeout value was based on the assumption that the minimum values are
used for the open and sample delay and no averaging is done. In fact the ADC
and touchscreen driver both use an open delay of 152 cycles and averaging over
16 samples. This patch adjusts the timeout value accordingly

Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
include/linux/mfd/ti_am335x_tscadc.h