iio: adc: cc10001: Add delay before setting START bit
authorNaidu Tellapati <naidu.tellapati@imgtec.com>
Thu, 7 May 2015 21:22:20 +0000 (18:22 -0300)
committerJonathan Cameron <jic23@kernel.org>
Tue, 12 May 2015 19:01:13 +0000 (20:01 +0100)
commitf29b212edb9e253cafcb4a2ab7842a890989f1a5
tree7bd4b5e971fab715aa243bff5eb648dbb6f9fe29
parent65a761bf8d55fdcf8ecc4642382a4e76c086e44c
iio: adc: cc10001: Add delay before setting START bit

According to hardware team there should be some delay after
setting channel number, start mode and before setting START.
Add a one microsecond delay for this purpose.

Fixes: 1664f6a5b0c8 ("iio: adc: Cosmic Circuits 10001 ADC driver")
Signed-off-by: Naidu Tellapati <naidu.tellapati@imgtec.com>
Signed-off-by: Ezequiel Garcia <ezequiel.garcia@imgtec.com>
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/cc10001_adc.c