projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf0d073
)
Staging:iio:tsl2583 Switch from msleep to usleep range per timers-howto.txt
author
Michael Welling
<mwelling@ieee.org>
Sat, 4 Oct 2014 02:26:00 +0000
(
03:26
+0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Sat, 12 Apr 2014 17:34:35 +0000
(18:34 +0100)
Signed-off-by: Michael Welling <mwelling@ieee.org>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/light/tsl2583.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/iio/light/tsl2583.c
b/drivers/staging/iio/light/tsl2583.c
index 8d46c92f6f643f670a39fd7c9eea293fe7f1ea3e..de3c9d8e77227aa44bc88bf0766489d7674a012b 100644
(file)
--- a/
drivers/staging/iio/light/tsl2583.c
+++ b/
drivers/staging/iio/light/tsl2583.c
@@
-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;