linux_dsm_epyc7002/sound/soc/intel
Cezary Rojewski 1c127ffd8c ASoC: Intel: Skylake: Fix module resource and format selection
[ Upstream commit e8b374b649afe756c2470e0e6668022e90bf8518 ]

Module configuration may differ between its instances depending on
resources required and input and output audio format. Available
parameters to select from are stored in module resource and interface
(format) lists. These come from topology, together with description of
each of pipe's modules.

Ignoring index value provided by topology and relying always on 0th
entry leads to unexpected module behavior due to under/overbudged
resources assigned or impropper format selection. Fix by taking entry at
index specified by topology.

Fixes: f6fa56e225 ("ASoC: Intel: Skylake: Parse and update module config structure")
Signed-off-by: Cezary Rojewski <cezary.rojewski@intel.com>
Tested-by: Lukasz Majczak <lma@semihalf.com>
Link: https://lore.kernel.org/r/20210818075742.1515155-5-cezary.rojewski@intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2024-07-05 19:12:22 +02:00
..
atom ASoC: intel: atom: Fix breakage for PCM buffer address setup 2024-07-05 18:55:59 +02:00
boards ASoC: Intel: kbl_da7219_max98927: Fix format selection for max98373 2024-07-05 19:12:22 +02:00
catpt Merge Intel catpt DSP fixes into asoc-5.10 2020-11-16 23:29:07 +00:00
common ASoC: Intel: Fix platform ID matching 2024-07-05 19:11:38 +02:00
keembay ASoC: Intel: KMB: Fix S24_LE configuration 2020-11-16 20:02:40 +00:00
skylake ASoC: Intel: Skylake: Fix module resource and format selection 2024-07-05 19:12:22 +02:00
Kconfig ASoC: intel: SND_SOC_INTEL_KEEMBAY should depend on ARCH_KEEMBAY 2020-12-30 11:53:14 +01:00
Makefile ASoC: Intel: Skylake: Compile when any configuration is selected 2021-05-14 09:50:29 +02:00