iio: adc: ad7606: Allow reconfigration after reset
authorBeniamin Bia <beniamin.bia@analog.com>
Thu, 18 Jul 2019 06:27:32 +0000 (09:27 +0300)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 28 Jul 2019 07:54:32 +0000 (08:54 +0100)
commitc5d93137af93c228392d133b3b00a0edae80dd40
tree9fbaa3bb259e56b23bdb9d99b0b626f6f1ad2d62
parenta0c648c07ce50744d0f6ddb58b483e87907e9122
iio: adc: ad7606: Allow reconfigration after reset

According to datasheet, ad7616 require at least 15ms after a restart
to fully reconfigure and being able to receive new commands via spi.

Signed-off-by: Beniamin Bia <beniamin.bia@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/ad7606.c