debug: Don't debug EBUSY params

When a device returned EBUSY when enumerating params, don't try to
enumerate (and fail) them again.
This commit is contained in:
Wim Taymans 2020-05-07 16:35:36 +02:00
parent f02c339645
commit 79fd4c941f
2 changed files with 4 additions and 0 deletions

View file

@ -212,6 +212,8 @@ static int debug_params(struct impl *this, struct spa_node *node,
spa_log_error(this->log, "params %s: %d:%d (%s) %s",
spa_debug_type_find_name(spa_type_param, id),
direction, port_id, debug, spa_strerror(err));
if (err == -EBUSY)
return 0;
state = 0;
while (true) {