File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,10 @@ static int override_ipc_type = -1;
4444module_param_named (ipc_type , override_ipc_type , int , 0444 );
4545MODULE_PARM_DESC (ipc_type , "Force SOF IPC type. 0 - IPC3, 1 - IPC4" );
4646
47+ static bool disable_function_topology = false;
48+ module_param (disable_function_topology , bool , 0444 );
49+ MODULE_PARM_DESC (disable_function_topology , "Disable function topology loading" );
50+
4751/* see SOF_DBG_ flags */
4852static int sof_core_debug = IS_ENABLED (CONFIG_SND_SOC_SOF_DEBUG_ENABLE_FIRMWARE_TRACE );
4953module_param_named (sof_debug , sof_core_debug , int , 0444 );
@@ -642,6 +646,8 @@ sof_apply_profile_override(struct sof_loadable_file_profile *path_override,
642646 /* User requested a specific topology file and expect it to be loaded */
643647 plat_data -> disable_function_topology = true;
644648 }
649+ if (disable_function_topology )
650+ plat_data -> disable_function_topology = true;
645651}
646652
647653int snd_sof_device_probe (struct device * dev , struct snd_sof_pdata * plat_data )
You can’t perform that action at this time.
0 commit comments