Skip to content

Commit e193385

Browse files
Michael Wellingjic23
authored andcommitted
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>
1 parent cf0d073 commit e193385

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/staging/iio/light/tsl2583.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ static int taos_chip_on(struct iio_dev *indio_dev)
451451
}
452452
}
453453

454-
msleep(3);
454+
usleep_range(3000, 3500);
455455
/* NOW enable the ADC
456456
* initialize the desired mode of operation */
457457
utmp = TSL258X_CNTL_PWR_ON | TSL258X_CNTL_ADC_ENBL;

0 commit comments

Comments
 (0)