diff options
author | John Klug <john.klug@multitech.com> | 2022-01-18 11:03:38 -0600 |
---|---|---|
committer | John Klug <john.klug@multitech.com> | 2022-01-18 11:03:38 -0600 |
commit | 96469452408ab4eb3fa48a5a5a954cfceed10526 (patch) | |
tree | 9e1439082f76557c12fa28845a4e2ff0e7b0b941 /recipes-kernel | |
parent | 615bcfac61ee64ca890276a1cc5514966d1fc6aa (diff) | |
download | meta-multitech-atmel-96469452408ab4eb3fa48a5a5a954cfceed10526.tar.gz meta-multitech-atmel-96469452408ab4eb3fa48a5a5a954cfceed10526.tar.bz2 meta-multitech-atmel-96469452408ab4eb3fa48a5a5a954cfceed10526.zip |
Increase counts to 10 for rs9113 reset
Diffstat (limited to 'recipes-kernel')
-rwxr-xr-x | recipes-kernel/rs9113/files/rs9113/rs9113.init | 5 |
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 |