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-02-01 10:42:02 -0600
commit45a401e1d118c64286e4520c1a0c4fb35c5994d0 (patch)
tree9e1439082f76557c12fa28845a4e2ff0e7b0b941
parent644df9a04bbf9f63fa250a290052f885c33b9d7d (diff)
downloadmeta-multitech-atmel-45a401e1d118c64286e4520c1a0c4fb35c5994d0.tar.gz
meta-multitech-atmel-45a401e1d118c64286e4520c1a0c4fb35c5994d0.tar.bz2
meta-multitech-atmel-45a401e1d118c64286e4520c1a0c4fb35c5994d0.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