]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit1a54b7dabf8f20df2894aed9683155ff89fc20e8
tree971c15a0003ee7b8cb68dc74663896e3d5b5bdf8
parentecf67ac335bba0867ce7c6470ae4a3574e0f2838
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