diff options
-rw-r--r-- | mixer.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |