Skip to content

Commit c963e2e

Browse files
jwrdegoedebroonie
authored andcommitted
ASoC: Intel: soc-acpi-byt: Fix "WM510205" match no longer working
Commit 7e1d728 ("ASoC: Intel: soc-acpi-byt: Add new WM5102 ACPI HID") added an extra HID to wm5102_comp_ids.codecs, but it forgot to bump wm5102_comp_ids.num_codecs, causing the last codec HID in the codecs list to no longer work. Bump wm5102_comp_ids.num_codecs to fix this. Fixes: 7e1d728 ("ASoC: Intel: soc-acpi-byt: Add new WM5102 ACPI HID") Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20230421183714.35186-1-hdegoede@redhat.com Signed-off-by: Mark Brown <broonie@kernel.org>
1 parent 9e868ca commit c963e2e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

sound/soc/intel/common/soc-acpi-intel-byt-match.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ static const struct snd_soc_acpi_codecs rt5640_comp_ids = {
124124
};
125125

126126
static const struct snd_soc_acpi_codecs wm5102_comp_ids = {
127-
.num_codecs = 2,
127+
.num_codecs = 3,
128128
.codecs = { "10WM5102", "WM510204", "WM510205"},
129129
};
130130

0 commit comments

Comments
 (0)