Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3324675rwa; Tue, 23 Aug 2022 02:52:16 -0700 (PDT) X-Google-Smtp-Source: AA6agR5oQj/nBnyca+HmeUC6Kx9/kOLMxr7ezclRnebYPCnvpZQCktLItiVoQVgSjC0lXS+bUuKP X-Received: by 2002:a17:903:1250:b0:172:614b:5f01 with SMTP id u16-20020a170903125000b00172614b5f01mr24090987plh.103.1661248336346; Tue, 23 Aug 2022 02:52:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661248336; cv=none; d=google.com; s=arc-20160816; b=RBJsOcTQ14kdVBfQAqHtDWKPmVET4REPXFv3LoJpXDDo4dJCUscYPbrfi+R7q4kOe8 vG5JuJdDOspoUeFgXnDQQZXsKe21e9ARwoGRZUqTYpVKoVC9+EReV0mIslrsI0YGFBYQ 1ICCWqoLFJ0Do4qrINhbRkuaD6RplPZ5C205ShQzv5+YvFXORh7i1+droToNXAa9vwHM boAed6/HzSlpo97I7DHB+ZHttwXTFI3j54Di64iL99A7gCFVprfCFjyUyeJ9rpiLSrEJ P0bc6QbRuj7JaE0s0jOvgwllKKFXaqb7P3z1hDQnlbWmLQ4xlLtAv8tALxx4EPmtrKMR EVvg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=du1VH7W1UohUeHVz43T2ww5upa89tY5i8nNhgdLYgho=; b=UF+b4RmcOMUZdk3saiUhTqE/VQsbALd1cNFT8bIkZX8alZp7Ir6Tri/8/MizaMKO82 x8M0m2HMA70HKIjK36QGGZ9afOVh4vapay7HCh+4laZ71izpdwY9qEco81yveC0R1LNc cIpzf9CaRXXu7Rrl4E0FvvneIu+ZZmSkhYaZstaKl5y8VoNXQZiaagCu4QZbsSB+5qsm 1kFO+YrBc+N/WsWYaK77J3UI2WtTPzuDrjUZ/VMTyADJzSjSUbzxJ0Eif608QejQvLIu Jc9Swj/gO2TzYESLEtGr8fdK8oV84gV3+H2h52AEQAugKscLlnTQVWBbxyn7+QW3i+ZN /tWw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jCn4Mt+M; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b5-20020a056a000cc500b0052ed946b207si16945330pfv.325.2022.08.23.02.52.05; Tue, 23 Aug 2022 02:52:16 -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; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=jCn4Mt+M; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242385AbiHWIS6 (ORCPT + 99 others); Tue, 23 Aug 2022 04:18:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43174 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242221AbiHWIOJ (ORCPT ); Tue, 23 Aug 2022 04:14:09 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3366A6CD28; Tue, 23 Aug 2022 01:09:35 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 4D65E611DD; Tue, 23 Aug 2022 08:09:34 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 42005C433C1; Tue, 23 Aug 2022 08:09:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661242173; bh=P8UEV1N27KxK4rVs22ewqoJc9ap4u38E5X9Mm+pEotI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jCn4Mt+MbfOwkr+qNiRsZRNYRNEKylseFLQzEDuIzD3RVFUs4scfIQNKQWTQf6j8t tHInW0KSbia+raG9F7Pw7SsZheV3s7T4pMctYwslCoIePrfe9YbbHZ5r7ngK8HogzV CKkDr7DVkrdkxgrhgU6GJgqMY+iL36pRQtBD3uh0= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Meng Tang , Takashi Iwai Subject: [PATCH 4.9 031/101] ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model Date: Tue, 23 Aug 2022 10:03:04 +0200 Message-Id: <20220823080035.773347754@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080034.579196046@linuxfoundation.org> References: <20220823080034.579196046@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,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 From: Meng Tang commit f83bb2592482fe94c6eea07a8121763c80f36ce5 upstream. 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 Cc: Link: https://lore.kernel.org/r/20220808073406.19460-1-tangmeng@uniontech.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_conexant.c | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c @@ -238,6 +238,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, @@ -698,6 +699,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, @@ -860,7 +869,7 @@ static const struct snd_pci_quirk cxt506 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),