提交 7fe704ce 编写于 作者: M Michael Welling 提交者: Greg Kroah-Hartman

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

Signed-off-by: NMichael Welling <mwelling@ieee.org>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册