diff options
author | Ranjani Sridharan <ranjani.sridharan@linux.intel.com> | 2019-12-04 22:15:50 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2019-12-09 19:38:39 +0100 |
commit | 03eec9b4eb897dde5985579508c978e7a29052bd (patch) | |
tree | 6072f808b97690cdd18964a902941cffbe83b564 /include/sound/sof.h | |
parent | ASoC: SOF: core: move check for runtime callbacks to core (diff) | |
download | linux-03eec9b4eb897dde5985579508c978e7a29052bd.tar.xz linux-03eec9b4eb897dde5985579508c978e7a29052bd.zip |
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>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20191204211556.12671-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/sound/sof.h')
-rw-r--r-- | include/sound/sof.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sound/sof.h b/include/sound/sof.h index 479101736ee0..1723478db4a2 100644 --- a/include/sound/sof.h +++ b/include/sound/sof.h @@ -91,6 +91,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; }; |