ALSA: hda – Add a conexant codec entry to let mute led work [Linux 4.9.187]

This Linux kernel change "ALSA: hda – Add a conexant codec entry to let mute led work" is included in the Linux 4.9.187 release. This change is authored by Hui Wang <hui.wang [at] canonical.com> on Thu Jul 25 14:57:37 2019 +0800. The commit for this change in Linux stable tree is 2f4b7fb (patch) which is from upstream commit 3f88094. The same Linux upstream change may have been applied to various maintained Linux releases and you can find all Linux releases containing changes from upstream 3f88094.

ALSA: hda - Add a conexant codec entry to let mute led work

commit 3f8809499bf02ef7874254c5e23fc764a47a21a0 upstream.

This conexant codec isn't in the supported codec list yet, the hda
generic driver can drive this codec well, but on a Lenovo machine
with mute/mic-mute leds, we need to apply CXT_FIXUP_THINKPAD_ACPI
to make the leds work. After adding this codec to the list, the
driver patch_conexant.c will apply THINKPAD_ACPI to this machine.

Cc: stable@vger.kernel.org
Signed-off-by: Hui Wang <hui.wang@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

There is one line of Linux source code added/deleted in this change. Code changes to Linux kernel are as follows.

 sound/pci/hda/patch_conexant.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 447b3a8..df66969 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -1011,6 +1011,7 @@ static int patch_conexant_auto(struct hda_codec *codec)
  */

 static const struct hda_device_id snd_hda_id_conexant[] = {
+   HDA_CODEC_ENTRY(0x14f11f86, "CX8070", patch_conexant_auto),
    HDA_CODEC_ENTRY(0x14f12008, "CX8200", patch_conexant_auto),
    HDA_CODEC_ENTRY(0x14f15045, "CX20549 (Venice)", patch_conexant_auto),
    HDA_CODEC_ENTRY(0x14f15047, "CX20551 (Waikiki)", patch_conexant_auto),

Leave a Reply

Your email address will not be published. Required fields are marked *