Received: by 2002:a05:6358:e9c4:b0:b2:91dc:71ab with SMTP id hc4csp4466894rwb; Mon, 8 Aug 2022 01:06:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR5oPq42FW3L7buO++q9kUmoCl9f3CBZRTC4BMCR15uJy1/Okx8GYTjWJD1rdzDK6KeuR+PY X-Received: by 2002:a17:907:2bf7:b0:730:996d:5e8d with SMTP id gv55-20020a1709072bf700b00730996d5e8dmr13203254ejc.382.1659946009317; Mon, 08 Aug 2022 01:06:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659946009; cv=none; d=google.com; s=arc-20160816; b=qyKIHahPHMvRuv/NM6l3CRDlLeny+uvTLubYytbuuZ3OzkX1KaNPCHb+fDtk0VCO0+ 98KZf0+uB5BVpm9CY9buvlqPe8VDMKOvLoIi2obBqkSRuUDUHpMNQ1OiYVKJAwgXI4Hz liVMnykK7BUV90jB3T9KI9RQnTmMFa+sTrOkKU5oOfoVexNjWXVuPeDUBQzn4FSsINle gIpmX102VP706TTl5goOdG97v9QGvw0E8vW2Ps9FxjuEhsyf7YLjb3iEFSaBvmVNrlPb 4qvrtQoMmKz2xv+c2yhVjWXegYmI0UEGXJHfn6RYwqJ9WEWmhxP8s1jOJPouMsAap4n/ uSqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=0KocBnOgBbF94Dr+xpc09t6a7xiAjmOR31Va78scZvU=; b=KMzdAkabxJZbce36qLDegS402vj2F2XQhCC/bS+zmtDgKFrzjuLf897SSsqxdW1o2M +cSLRxm+wDZP58wTyF6FTT/5TLmfKIIjn0ExDK63mZyzHhgPR+owJ+9m+D9UGV/D8mmN kqbgCkm8mtmgPwd3mVDxmOcYscPZXiWnpS98l2CedemWlqDc1ViPndjfp9YIes0H+QmB JxnWbfEWPifkrBgE+Nw13un2hRMZxsuwZB8xL7HXpIZVwDW/SdPJYcKN5qx5WGmEWJTu C+Lx1jcNqvjPUb3OVNktkKbuItlke2Xfsi7e4bx1EC0/JyMSc2UUf13omxHObT6GDkGR cnig== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq24-20020a1709073f1800b00730c392a3c5si9908282ejc.243.2022.08.08.01.06.22; Mon, 08 Aug 2022 01:06:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235903AbiHHHeh (ORCPT + 99 others); Mon, 8 Aug 2022 03:34:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235172AbiHHHef (ORCPT ); Mon, 8 Aug 2022 03:34:35 -0400 Received: from smtpbgjp3.qq.com (smtpbgjp3.qq.com [54.92.39.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EC511391 for ; Mon, 8 Aug 2022 00:34:28 -0700 (PDT) X-QQ-mid: bizesmtp73t1659944055tdl8yyno Received: from localhost.localdomain ( [58.240.82.166]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 08 Aug 2022 15:34:09 +0800 (CST) X-QQ-SSF: 01400000002000G0U000B00A0000000 X-QQ-FEAT: 3M0okmaRx3j9ek3mc9H7YxaHgeT7KxPegPx6HQ9LRbj12W87UcJm61TFOtxz5 55PM7tObXUTp4SjlfvV04eZ9y9spypxUpndWt/0IefueZZ0mJ4C7nM/9/tuFTrwJopemMM0 eTwHgigbwv2a+IKBLo2Bqd1tsH7zZXzHodpePR8jYotUyYNlBoEAg8BYlUN/ySg/GvyK3Mg ovg0t6fdwBwn92m7LHcGdo91CXs7gL+d08j4mUeIS+XIguX1k53lCToFurxh9lEHtfB1ubG RCjl2aEbMmZeVrkU8IvS+402ivj49EyCyCiVD5Kex3zECw2h5a253HnpKJIh05lPvxG3ZXt lriPUtl125bjRSt+PDhjsIkc9+BcgqjIht2lqzaFPgIgMzOHECKsfNlr6nj6UK/fpZDlWk7 PQWlS1IEUV0= X-QQ-GoodBg: 2 From: Meng Tang To: perex@perex.cz, tiwai@suse.com, bo.liu@senarytech.com Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, Meng Tang Subject: [PATCH] ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model Date: Mon, 8 Aug 2022 15:34:06 +0800 Message-Id: <20220808073406.19460-1-tangmeng@uniontech.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:uniontech.com:qybglogicsvr:qybglogicsvr7 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org There is another LENOVO 20149 (Type1Sku0) Notebook model with CX20590, the device PCI SSID is 17aa:3977, which headphones are not responding, that requires the quirk CXT_PINCFG_LENOVO_NOTEBOOK. Add the corresponding entry to the quirk table. Signed-off-by: Meng Tang --- sound/pci/hda/patch_conexant.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index 83ae21a01bbf..7b1a30a551f6 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c @@ -222,6 +222,7 @@ enum { CXT_PINCFG_LEMOTE_A1205, CXT_PINCFG_COMPAQ_CQ60, CXT_FIXUP_STEREO_DMIC, + CXT_PINCFG_LENOVO_NOTEBOOK, CXT_FIXUP_INC_MIC_BOOST, CXT_FIXUP_HEADPHONE_MIC_PIN, CXT_FIXUP_HEADPHONE_MIC, @@ -772,6 +773,14 @@ static const struct hda_fixup cxt_fixups[] = { .type = HDA_FIXUP_FUNC, .v.func = cxt_fixup_stereo_dmic, }, + [CXT_PINCFG_LENOVO_NOTEBOOK] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x1a, 0x05d71030 }, + { } + }, + .chain_id = CXT_FIXUP_STEREO_DMIC, + }, [CXT_FIXUP_INC_MIC_BOOST] = { .type = HDA_FIXUP_FUNC, .v.func = cxt5066_increase_mic_boost, @@ -971,7 +980,7 @@ static const struct snd_pci_quirk cxt5066_fixups[] = { SND_PCI_QUIRK(0x17aa, 0x3905, "Lenovo G50-30", CXT_FIXUP_STEREO_DMIC), SND_PCI_QUIRK(0x17aa, 0x390b, "Lenovo G50-80", CXT_FIXUP_STEREO_DMIC), SND_PCI_QUIRK(0x17aa, 0x3975, "Lenovo U300s", CXT_FIXUP_STEREO_DMIC), - SND_PCI_QUIRK(0x17aa, 0x3977, "Lenovo IdeaPad U310", CXT_FIXUP_STEREO_DMIC), + SND_PCI_QUIRK(0x17aa, 0x3977, "Lenovo IdeaPad U310", CXT_PINCFG_LENOVO_NOTEBOOK), SND_PCI_QUIRK(0x17aa, 0x3978, "Lenovo G50-70", CXT_FIXUP_STEREO_DMIC), SND_PCI_QUIRK(0x17aa, 0x397b, "Lenovo S205", CXT_FIXUP_STEREO_DMIC), SND_PCI_QUIRK_VENDOR(0x17aa, "Thinkpad", CXT_FIXUP_THINKPAD_ACPI), -- 2.20.1