]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ASoC: Intel: soc-acpi-byt: Fix "WM510205" match no longer working
authorHans de Goede <hdegoede@redhat.com>
Fri, 21 Apr 2023 18:37:14 +0000 (20:37 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 24 Apr 2023 15:41:58 +0000 (16:41 +0100)
commitc963e2ec095cb3f855890be53f56f5a6c6fbe371
tree21da54dfa72520c8f10f103279ce8863828ce999
parent9e868ca1f269dec9f2062bb8de42b8a94773924e
ASoC: Intel: soc-acpi-byt: Fix "WM510205" match no longer working

Commit 7e1d728a94ca ("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: 7e1d728a94ca ("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>
sound/soc/intel/common/soc-acpi-intel-byt-match.c