summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Klug <john.klug@multitech.com>2022-01-18 11:03:38 -0600
committerJohn Klug <john.klug@multitech.com>2022-01-18 11:03:38 -0600
commit96469452408ab4eb3fa48a5a5a954cfceed10526 (patch)
tree9e1439082f76557c12fa28845a4e2ff0e7b0b941
parent615bcfac61ee64ca890276a1cc5514966d1fc6aa (diff)
downloadmeta-multitech-atmel-96469452408ab4eb3fa48a5a5a954cfceed10526.tar.gz
meta-multitech-atmel-96469452408ab4eb3fa48a5a5a954cfceed10526.tar.bz2
meta-multitech-atmel-96469452408ab4eb3fa48a5a5a954cfceed10526.zip
Increase counts to 10 for rs9113 reset
-rwxr-xr-xrecipes-kernel/rs9113/files/rs9113/rs9113.init5
1 files changed, 3 insertions, 2 deletions
diff --git a/recipes-kernel/rs9113/files/rs9113/rs9113.init b/recipes-kernel/rs9113/files/rs9113/rs9113.init
index 6adeb5a..d5b31ec 100755
--- a/recipes-kernel/rs9113/files/rs9113/rs9113.init
+++ b/recipes-kernel/rs9113/files/rs9113/rs9113.init
@@ -45,15 +45,16 @@ function logpipe {
}
function rs9113_reset {
- for i in {1..5} ; do
+ for i in {1..10} ; do
if [[ -f $RS9113_RESET ]] ; then
break
fi
+ usleep 10000
done
# Reset the RS9113 chip is ready, and
# wait for it to settle.
- for i in {1..5} ; do
+ for i in {1..10} ; do
if [[ -f $RS9113_RESET ]] ; then
echo 0 >$RS9113_RESET
usleep $SLEEPTIME