Gen 1: Ignore control "index" value in saved configurations

This commit is contained in:
Geoffrey D. Bennett
2025-02-21 04:08:34 +10:30
parent 64f0cc36cc
commit da1f011ab4
+4
View File
@@ -279,6 +279,10 @@ static int alsa_config_to_new_elem(
// comment node?
} else if (strcmp(key, "comment") == 0) {
alsa_parse_comment_node(node, elem);
// this isn't needed
} else if (strcmp(key, "index") == 0) {
} else {
printf("skipping unknown node %s for %d\n", key, id);
goto fail;