ASoC: Intel: soc-acpi: fix Dell SKU 0B34
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 19 Sep 2023 08:36:06 +0000 (16:36 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 19 Sep 2023 12:48:35 +0000 (13:48 +0100)
commitb399f9706a1cbae42731cc420a46cfb9c3c6b10f
tree5ff00dd2eb062891d46be1012c3ab3f09f49891c
parent31bb7bd9ffee50d09ec931998b823a86132ab807
ASoC: Intel: soc-acpi: fix Dell SKU 0B34

The rule for the SoundWire tables is that the platforms with more
devices need to be added first. We broke that rule with the Dell SKU
0B34, and caused the second amplifier for SKU 0AF3 to be ignored.

The fix is simple, we need to move the single-amplifier entry after
the two-amplifier one.

Fixes: b62a1a839b48 ("ASoC: Intel: soc-acpi: add tables for Dell SKU 0B34")
Closes: https://github.com/thesofproject/linux/issues/4559
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Chao Song <chao.song@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20230919083606.1920202-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/common/soc-acpi-intel-adl-match.c