diff options
author | Michael Welling <mwelling@ieee.org> | 2014-10-04 02:26:00 (GMT) |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-04-12 17:34:35 (GMT) |
commit | e193385bf4fa1bdbafcc12eaea4f0e718aeae858 (patch) | |
tree | 3351af121d2954542194dadcb85eb19010b88a50 | |
parent | cf0d0739c0d1f1ae6178c187db6550b96dfa2019 (diff) | |
download | linux-e193385bf4fa1bdbafcc12eaea4f0e718aeae858.tar.xz |
Staging:iio:tsl2583 Switch from msleep to usleep range per timers-howto.txt
Signed-off-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
-rw-r--r-- | drivers/staging/iio/light/tsl2583.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/light/tsl2583.c b/drivers/staging/iio/light/tsl2583.c index 8d46c92..de3c9d8 100644 --- a/drivers/staging/iio/light/tsl2583.c +++ b/drivers/staging/iio/light/tsl2583.c @@ -451,7 +451,7 @@ static int taos_chip_on(struct iio_dev *indio_dev) } } - msleep(3); + usleep_range(3000, 3500); /* NOW enable the ADC * initialize the desired mode of operation */ utmp = TSL258X_CNTL_PWR_ON | TSL258X_CNTL_ADC_ENBL; |