summaryrefslogtreecommitdiff
path: root/sound/soc/sof/sof-of-dev.c
diff options
context:
space:
mode:
authorDaniel Baluta <daniel.baluta@nxp.com>2019-11-29 00:31:40 +0200
committerDaniel Baluta <daniel.baluta@nxp.com>2019-11-29 00:32:36 +0200
commit9ce84c863a94ff0df63d6932ad182e69fe9910eb (patch)
tree97529e418010135f3b4c60c9d17f3fa840022479 /sound/soc/sof/sof-of-dev.c
parent95ab2f59ea96ce221a5aad257fc87774358bbaeb (diff)
ASoC: SOF: Update fw_filename from board description
Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'sound/soc/sof/sof-of-dev.c')
-rw-r--r--sound/soc/sof/sof-of-dev.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/soc/sof/sof-of-dev.c b/sound/soc/sof/sof-of-dev.c
index 042eae74961f..dc7a268e78fd 100644
--- a/sound/soc/sof/sof-of-dev.c
+++ b/sound/soc/sof/sof-of-dev.c
@@ -92,6 +92,8 @@ static int sof_of_probe(struct platform_device *pdev)
sof_pdata->fw_filename_prefix = sof_pdata->desc->default_fw_path;
sof_pdata->tplg_filename_prefix = sof_pdata->desc->default_tplg_path;
+ sof_pdata->fw_filename = desc->default_fw_filename;
+
#if IS_ENABLED(CONFIG_SND_SOC_SOF_PROBE_WORK_QUEUE)
/* set callback to enable runtime_pm */
sof_pdata->sof_probe_complete = sof_of_probe_complete;