/*
* parse controls which should be run only at initial boot
*/
-static int parse_controls_once(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg)
+static int parse_controls_boot(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg)
{
int err;
}
err = parse_sequence(uc_mgr, &uc_mgr->once_list, cfg);
if (err < 0) {
- uc_error("Unable to parse SectionOnce");
+ uc_error("Unable to parse BootSequence");
return err;
}
*
* # The initial boot (run once) configuration.
*
- * SectionOnce [
+ * BootSequence [
* cset "name='Master Playback Switch',index=2 1,1"
* cset "name='Master Playback Volume',index=2 25,25"
* ]
}
/* find default control values section (first boot only) */
- if (strcmp(id, "SectionOnce") == 0) {
- err = parse_controls_once(uc_mgr, n);
+ if (strcmp(id, "BootSequence") == 0) {
+ err = parse_controls_boot(uc_mgr, n);
if (err < 0)
return err;
continue;