diff --git a/sound/soc/sof/core.c b/sound/soc/sof/core.c index ee01991c00a66f..da0c131cc271a5 100644 --- a/sound/soc/sof/core.c +++ b/sound/soc/sof/core.c @@ -191,7 +191,9 @@ static struct snd_sof_of_mach *sof_of_machine_select(struct snd_sof_dev *sdev) for (; mach->compatible; mach++) { if (of_machine_is_compatible(mach->compatible)) { - sof_pdata->tplg_filename = mach->sof_tplg_filename; + /* keep a topology name given as a module parameter */ + if (!sof_pdata->tplg_filename) + sof_pdata->tplg_filename = mach->sof_tplg_filename; if (mach->fw_filename) sof_pdata->fw_filename = mach->fw_filename;