projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a095169
)
audiod: Request a minimal delay if the status buffer tree node is in error state.
author
Andre Noll
<maan@systemlinux.org>
Sat, 23 Jan 2010 13:29:57 +0000
(14:29 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Sat, 23 Jan 2010 13:29:57 +0000
(14:29 +0100)
This happens during startup and causes a large delay.
audiod.c
patch
|
blob
|
history
diff --git
a/audiod.c
b/audiod.c
index 1734c70357537cf942f1dad0172cd6167e454ba0..965286f079ccaa1ab4be969e337f4c1181b82f50 100644
(file)
--- a/
audiod.c
+++ b/
audiod.c
@@
-1116,6
+1116,8
@@
static void status_pre_select(struct sched *s, struct task *t)
int ret;
ret = btr_node_status(st->btrn, 0, BTR_NT_LEAF);
+ if (ret < 0)
+ sched_min_delay(s);
sched_request_barrier(&st->restart_barrier, s);
}