summaryrefslogtreecommitdiff
path: root/recipes-kernel/rs9113/files/rs9113/rs9113.init
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2016-11-30 09:34:48 -0600
committerJohn Klug <john.klug@multitech.com>2016-11-30 09:34:48 -0600
commitefdcf3d7165650dae0eee0c4a5011f1c0a5ede4b (patch)
treeb6cbeb9d19e74105b808e993010d40b49805f145 /recipes-kernel/rs9113/files/rs9113/rs9113.init
parente485a6d6fdd90ebf9e319bef3554e78b92a44872 (diff)
downloadmeta-multitech-efdcf3d7165650dae0eee0c4a5011f1c0a5ede4b.tar.gz
meta-multitech-efdcf3d7165650dae0eee0c4a5011f1c0a5ede4b.tar.bz2
meta-multitech-efdcf3d7165650dae0eee0c4a5011f1c0a5ede4b.zip
New reset times for rs9113.
Diffstat (limited to 'recipes-kernel/rs9113/files/rs9113/rs9113.init')
-rwxr-xr-xrecipes-kernel/rs9113/files/rs9113/rs9113.init6
1 files changed, 3 insertions, 3 deletions
diff --git a/recipes-kernel/rs9113/files/rs9113/rs9113.init b/recipes-kernel/rs9113/files/rs9113/rs9113.init
index 2351ae4..c723846 100755
--- a/recipes-kernel/rs9113/files/rs9113/rs9113.init
+++ b/recipes-kernel/rs9113/files/rs9113/rs9113.init
@@ -27,16 +27,16 @@ case "$1" in
# wait for it to settle.
if [ -f "$RS9113_RESET" ] ; then
echo 1 >$RS9113_RESET
- usleep 100
+ usleep $SLEEPTIME
echo 0 >$RS9113_RESET
- usleep 100
+ usleep $SLEEPTIME
echo 1 >$RS9113_RESET
N=1
while [ $N -lt 20 ] ; do
INT=$(cat $RS9113_INT)
WKUP=$(cat $RS9113_WKUP)
if [ $INT -ne 1 -o $WKUP -ne 1 ] ; then
- usleep 100
+ usleep $INTSLEEPTIME
else
break
fi