Skip to content

Commit ffd0542

Browse files
Chao Songlgirdwood
authored andcommitted
adsp_config: make the default value zero for init_config
The init_config is used to indicate if base config extension is used (1) or not (0). Its default value is used if not specified in module config, the default value for init_config should be zero instead of one. Signed-off-by: Chao Song <chao.song@linux.intel.com>
1 parent cb9c880 commit ffd0542

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/adsp_config.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2237,7 +2237,7 @@ static int parse_module(const toml_table_t *toml, struct parse_ctx *pctx,
22372237
return err_key_parse("load_type", NULL);
22382238

22392239
mod_man->type.init_config = parse_uint32_hex_key(mod_entry, &ctx_entry,
2240-
"init_config", 1, &ret);
2240+
"init_config", 0, &ret);
22412241
if (ret < 0)
22422242
return err_key_parse("init_config", NULL);
22432243

0 commit comments

Comments
 (0)