From 45a401e1d118c64286e4520c1a0c4fb35c5994d0 Mon Sep 17 00:00:00 2001 From: John Klug Date: Tue, 18 Jan 2022 11:03:38 -0600 Subject: Increase counts to 10 for rs9113 reset --- recipes-kernel/rs9113/files/rs9113/rs9113.init | 5 +++-- 1 file 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 -- cgit v1.2.3