2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-24 21:24:00 +08:00

Staging: iio: Switch from msleep to usleep range per timers-howto.txt

Signed-off-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Michael Welling 2014-04-09 21:26:45 -05:00 committed by Greg Kroah-Hartman
parent b47b894c60
commit 7fe704ce6a

View File

@ -451,7 +451,7 @@ static int taos_chip_on(struct iio_dev *indio_dev)
} }
} }
msleep(3); usleep_range(3000, 3500);
/* NOW enable the ADC /* NOW enable the ADC
* initialize the desired mode of operation */ * initialize the desired mode of operation */
utmp = TSL258X_CNTL_PWR_ON | TSL258X_CNTL_ADC_ENBL; utmp = TSL258X_CNTL_PWR_ON | TSL258X_CNTL_ADC_ENBL;