From 62d50130f36ab791a109d61ff55cc902dc7c2db5 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Sat, 23 Jan 2010 14:29:57 +0100 Subject: [PATCH] audiod: Request a minimal delay if the status buffer tree node is in error state. This happens during startup and causes a large delay. --- audiod.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/audiod.c b/audiod.c index 1734c703..965286f0 100644 --- 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); } -- 2.39.5