context: decrement busy counter correctly for graph recalc

When we need to retry after a reconfigure in graph recalc, decrement the
busy counter first or else we will incorrectly pair increment and
decrements and have the graph busy forever.
This commit is contained in:
Wim Taymans 2026-07-09 11:31:33 +02:00
parent 832a1a6af6
commit 9931921c21

View file

@ -1775,6 +1775,7 @@ again:
if (do_reconfigure) {
reconfigure_driver(context, n);
/* we might be suspended now and the links need to be prepared again */
impl->recalc--;
goto again;
}
/* we have a pending change. We place the new values in the