summaryrefslogtreecommitdiff
path: root/include/sound
diff options
context:
space:
mode:
authorRanjani Sridharan <ranjani.sridharan@linux.intel.com>2019-10-16 20:54:17 -0700
committerDaniel Baluta <daniel.baluta@nxp.com>2019-11-27 17:11:42 +0200
commit9e398585923028ebddff2c1242f3d42721ae4275 (patch)
tree1c6bcca145847e619cb3900b7e3a165a5cf62885 /include/sound
parent0e821afb9450c1001d502039fdf95d463d2680e3 (diff)
ASoC: SOF: Introduce default_fw_filename member in sof_dev_desc
Currently the FW filename is obtained from the ACPI matching table when determining which machine driver to use. In preparation for making the machine driver ACPI match optional for Device Tree platforms and moving the machine driver selection out of the SOF core, this patch introduces the default_fw_filename member in struct sof_dev_desc. Once the machine driver selection is moved out of SOF core, the nocodec_fw_filename will become obsolete and will be removed. Signed-off-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com> Signed-off-by: Daniel Baluta <daniel.baluta@nxp.com>
Diffstat (limited to 'include/sound')
-rw-r--r--include/sound/sof.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/sof.h b/include/sound/sof.h
index 4640566b54fe..6b0527b5a44f 100644
--- a/include/sound/sof.h
+++ b/include/sound/sof.h
@@ -88,6 +88,9 @@ struct sof_dev_desc {
const char *default_fw_path;
const char *default_tplg_path;
+ /* default firmware name */
+ const char *default_fw_filename;
+
const struct snd_sof_dsp_ops *ops;
const struct sof_arch_ops *arch_ops;
};