iio: adc: ina2xx: Do not udelay for several seconds
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Fri, 8 Dec 2017 17:41:49 +0000 (18:41 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Jan 2018 15:03:42 +0000 (16:03 +0100)
commit8bcf024f06f11c0c9597ecbbfbe291a9a5092204
treec96d137ba7742d62454e5d1a179fff589583904d
parentc68013f3a9a7c901a9a7935a973a0ab1cc884c4a
iio: adc: ina2xx: Do not udelay for several seconds

The conversion time can be up to 16 seconds (8 ms per channel, 2 channels,
1024 times averaging).

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/iio/adc/ina2xx-adc.c