linux/drivers/iio/adc
Vignesh R 7175cce1c3 iio: adc: ti_am335x_adc: Increase timeout value waiting for ADC sample
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>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
2016-08-21 19:48:31 +01:00
..
Kconfig iio: Add driver for Broadcom iproc-static-adc 2016-07-03 11:32:30 +01:00
Makefile iio: Add driver for Broadcom iproc-static-adc 2016-07-03 11:32:30 +01:00
ad799x.c iio: ad799x: Fix buffered capture for ad7991/ad7995/ad7999 2016-08-15 15:39:14 +01:00
ad7266.c Third set of IIO new device support, features and cleanups for the 4.8 cycle. 2016-07-14 12:05:29 +09:00
ad7291.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ad7298.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ad7476.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ad7791.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ad7793.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ad7887.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ad7923.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ad_sigma_delta.c
at91-sama5d2_adc.c Merge 4.6-rc7 into staging-next 2016-05-09 13:20:04 +02:00
at91_adc.c iio: adc: at91: unbreak channel adc channel 3 2016-08-15 17:14:53 +01:00
axp288_adc.c iio: adc: axp288: remove redundant duplicate const on axp288_adc_channels 2016-01-23 16:30:57 +00:00
bcm_iproc_adc.c iio: Add driver for Broadcom iproc-static-adc 2016-07-03 11:32:30 +01:00
berlin2-adc.c iio:adc:berlin2-adc: coding style cleanup 2015-08-12 22:13:57 +01:00
cc10001_adc.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
da9150-gpadc.c iio: Add support for DA9150 GPADC 2015-02-25 21:05:26 +01:00
exynos_adc.c iio: exynos-adc: fix irqf_oneshot.cocci warnings 2015-12-21 21:08:55 -08:00
fsl-imx25-gcq.c iio: adc/imx25-gcq: Move incorrect do_div 2016-03-09 12:50:51 +07:00
hi8435.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
imx7d_adc.c iio: adc: add IMX7D ADC driver support 2015-12-12 16:25:41 +00:00
ina2xx-adc.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
lp8788_adc.c iio: remove .owner field for driver using module_platform_driver 2014-08-26 21:08:38 +01:00
lpc18xx_adc.c iio: adc: add NXP LPC18xx ADC driver 2016-03-12 18:11:48 +00:00
max1027.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
max1363.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
mcp320x.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
mcp3422.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
men_z188_adc.c iio: adc: men_z188_adc: Add terminating entry for men_z188_ids 2014-11-15 16:12:04 +00:00
mxs-lradc.c iio: mxs-lradc: disable only masked channels in mxs_lradc_hw_stop 2016-05-04 10:44:28 +01:00
nau7802.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
palmas_gpadc.c iio: adc: palmas: Drop IRQF_EARLY_RESUME flag 2016-02-27 17:20:52 +00:00
qcom-spmi-iadc.c iio: iadc: wait_for_completion_timeout time in jiffies 2015-01-10 11:43:26 +00:00
qcom-spmi-vadc.c iio: adc: spmi-vadc: add missing of_node_put 2015-11-21 18:24:44 +00:00
rockchip_saradc.c iio: adc: rockchip_saradc: add saradc support for rk3399 2016-03-20 10:27:25 +00:00
ti-adc081c.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ti-adc128s052.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ti-adc0832.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ti-ads1015.c iio:ti-ads1015: fix a wrong pointer definition. 2016-08-21 11:00:45 +01:00
ti-ads8688.c iio: adc: add missing of_node references to iio_dev 2016-07-03 13:40:08 +01:00
ti_am335x_adc.c iio: adc: ti_am335x_adc: Increase timeout value waiting for ADC sample 2016-08-21 19:48:31 +01:00
twl4030-madc.c iio: adc: twl4030: Fix ADC[3:6] readings 2015-10-03 10:27:18 +01:00
twl6030-gpadc.c iio: adc: twl6030-gpadc: Fix module autoload for OF platform driver 2015-09-23 20:23:24 +01:00
vf610_adc.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
viperboard_adc.c iio: remove .owner field for driver using module_platform_driver 2014-08-26 21:08:38 +01:00
xilinx-xadc-core.c First set of new device support, features and cleanups for IIO in the 4.5 cycle 2015-12-01 09:13:29 -08:00
xilinx-xadc-events.c iio:core: timestamping clock selection support 2016-06-30 19:41:38 +01:00
xilinx-xadc.h iio: adc: xilinx-xadc: Push interrupts into hardirq context 2015-08-16 10:51:27 +01:00