summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mixer.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mixer.c b/mixer.c
index 9608083..e77feb5 100644
--- a/mixer.c
+++ b/mixer.c
@@ -783,17 +783,18 @@ int tinyalsa_mixer_set_route_list(struct tinyalsa_mixer *mixer, struct list_head
rc = tinyalsa_mixer_set_route_ctrl(mixer, mixer_data);
if(rc < 0) {
LOGE("Unable to set control!");
- return -1;
+ goto list_continue;
}
}
} else if(mixer_data->type == MIXER_DATA_TYPE_WRITE) {
rc = tinyalsa_mixer_set_route_write(mixer, mixer_data);
if(rc < 0) {
LOGE("Unable to write!");
- return -1;
+ goto list_continue;
}
}
+list_continue:
if(list->next != NULL)
list = list->next;
else