ASoC: SOF: topology: Use acpi mach from the machine driver
Subsystems (4)
Peter Ujfalusi
maintainerPATCH 1/1 ASoC: SOF: topology: Use acpi mach from the machine driver
From: Bard Liao <[email protected]>
The parameters may be changed by the sof_sdw machine driver is the SOC_SDW_PCH_DMIC quirk is set. Use the mach_params from the machine driver to ensure the sof_sdw_get_tplg_files() function select the right function topologies.
--- sound/soc/intel/common/sof-function-topology-lib.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
sound/soc/intel/common/sof-function-topology-lib.c +6 -1
@@ -31,7 +31,12 @@ enum tplg_device_id {int sof_sdw_get_tplg_files (struct snd_soc_card *card,const struct snd_soc_acpi_mach *mach,const char *prefix,const char ***tplg_files,bool best_effort) { -struct snd_soc_acpi_mach_params mach_params = mach->mach_params; +struct snd_soc_acpi_mach *card_mach =dev_get_platdata (card->dev); +/* +* Use the acpi mach from the machine driver because the machine driver +* may change the dmic_num based on the machine driver quirk. +*/ +struct snd_soc_acpi_mach_params mach_params = card_mach->mach_params;struct snd_soc_dai_link *dai_link;const struct firmware *fw;char platform[SOF_INTEL_PLATFORM_NAME_MAX ];
Signature · 1 line
2.55.0
Mark Brown
maintainerQuoted 1 line · Peter Ujfalusi
ASoC: SOF: topology: Use acpi mach from the machine driver
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-7.2
Thanks!
[1/1] ASoC: SOF: topology: Use acpi mach from the machine driver
https://git.kernel.org/broonie/sound/c/ae63720dd7c3
All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying to this mail.
Thanks,
Mark