projects
/
platform
/
core
/
system
/
initrd-flash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d61c0dc
)
dfu: Use longer delay for waiting queue available
02/228702/1
accepted/tizen/unified/20200325.055722
submit/tizen/20200325.024820
author
Dongwoo Lee
<dwoo08.lee@samsung.com>
Wed, 25 Mar 2020 02:39:05 +0000
(11:39 +0900)
committer
Dongwoo Lee
<dwoo08.lee@samsung.com>
Wed, 25 Mar 2020 02:39:05 +0000
(11:39 +0900)
By recommend of static analysis tool, sleep time for waiting queue
become available will be expanded to 10000us.
Change-Id: I5ace690d1f6826234fad89489c9617a046456f8c
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
src/dfu.c
patch
|
blob
|
history
diff --git
a/src/dfu.c
b/src/dfu.c
index
0d481cb
..
acb8887
100644
(file)
--- a/
src/dfu.c
+++ b/
src/dfu.c
@@
-128,7
+128,7
@@
retry:
notify = 1;
} else if (ctx->ioq_len >= DFU_IOQ_MAXLEN) {
pthread_mutex_unlock(&ctx->mutex);
- usleep(1000);
+ usleep(1000
0
);
goto retry;
}