mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-14 08:51:46 -04:00
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>
This commit is contained in:
committed by
Jonathan Cameron
parent
cf0d0739c0
commit
e193385bf4
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user