projects
/
platform
/
kernel
/
linux-rpi.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
|
history
diff --git
a/drivers/staging/iio/light/tsl2583.c
b/drivers/staging/iio/light/tsl2583.c
index
8d46c92
..
de3c9d8
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;