linux/sound/soc/intel
Cezary Rojewski dd903083cb ASoC: Intel: Skylake: Fix module resource and format selection
[ Upstream commit e8b374b649 ]

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>
2021-09-15 09:50:43 +02:00
..
atom ASoC: intel: atom: Fix breakage for PCM buffer address setup 2021-08-26 08:35:57 -04:00
boards ASoC: Intel: kbl_da7219_max98927: Fix format selection for max98373 2021-09-15 09:50:43 +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 2021-09-15 09:50: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 2021-09-15 09:50:43 +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