projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1162d26
)
ASoC: SOF: sof-acpi-dev: Save the default IPC type and path overrides
author
Peter Ujfalusi
<peter.ujfalusi@linux.intel.com>
Wed, 29 Nov 2023 12:53:18 +0000
(14:53 +0200)
committer
Mark Brown
<broonie@kernel.org>
Wed, 29 Nov 2023 13:25:07 +0000
(13:25 +0000)
Store the default IPC type and the firmware and topology path overrides to
ipc_file_profile_base
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Link:
https://lore.kernel.org/r/20231129125327.23708-5-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-acpi-dev.c
patch
|
blob
|
history
diff --git
a/sound/soc/sof/sof-acpi-dev.c
b/sound/soc/sof/sof-acpi-dev.c
index 84a4a0a3318e0eb20db539ff0dd69424fa15846e..87c0c2edc4c9d450675d3b29039acb581417bdb2 100644
(file)
--- a/
sound/soc/sof/sof-acpi-dev.c
+++ b/
sound/soc/sof/sof-acpi-dev.c
@@
-87,6
+87,10
@@
int sof_acpi_probe(struct platform_device *pdev, const struct sof_dev_desc *desc
else
sof_pdata->tplg_filename_prefix = desc->default_tplg_path[SOF_IPC_TYPE_3];
+ sof_pdata->ipc_file_profile_base.ipc_type = desc->ipc_default;
+ sof_pdata->ipc_file_profile_base.fw_path = fw_path;
+ sof_pdata->ipc_file_profile_base.tplg_path = tplg_path;
+
/* set callback to be called on successful device probe to enable runtime_pm */
sof_pdata->sof_probe_complete = sof_acpi_probe_complete;