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:
parent
b47b894c60
commit
7fe704ce6a
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user