Commit 7fe704ce authored by Michael Welling's avatar Michael Welling Committed by Greg Kroah-Hartman

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

Signed-off-by: default avatarMichael Welling <mwelling@ieee.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent b47b894c
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment