android_kernel_samsung_univ.../include
Vignesh R 023e76b1d1 iio: adc: ti_am335x_adc: Increase timeout value waiting for ADC sample
commit 7175cce1c3f1d8c8840d2004f78f96a3904249b5 upstream.

Now that open delay and sample delay for each channel is configurable
via DT, the default IDLE_TIMEOUT value is not enough as this is
calculated based on hardcoded macros. This results in driver returning
EBUSY sometimes. Fix this by increasing the timeout
value based on maximum value possible to open delay and sample delays
for each channel.

Fixes: 5dc11e8106 ("iio: adc: ti_am335x_adc: make sample delay, open delay, averaging DT parameters")
Signed-off-by: Vignesh R <vigneshr@ti.com>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-09-24 10:07:38 +02:00
..
acpi
asm-generic vmlinux.lds: account for destructor sections 2016-08-10 11:49:25 +02:00
clocksource
crypto
drm drm/i915/skl: Add missing SKL ids 2016-09-15 08:27:44 +02:00
dt-bindings
keys
kvm
linux iio: adc: ti_am335x_adc: Increase timeout value waiting for ADC sample 2016-09-24 10:07:38 +02:00
math-emu
media
memory
misc
net
pcmcia
ras
rdma
rxrpc
scsi
soc
sound
target target: Fix ordered task CHECK_CONDITION early exception handling 2016-08-20 18:09:26 +02:00
trace SUNRPC: Don't allocate a full sockaddr_storage for tracing 2016-08-20 18:09:26 +02:00
uapi cxlflash: Fix to avoid virtual LUN failover failure 2016-09-15 08:27:49 +02:00
video
xen
Kbuild