Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3413435rwa; Tue, 23 Aug 2022 04:29:42 -0700 (PDT) X-Google-Smtp-Source: AA6agR4LrGB4edM0mXi2m8uTJKWyH22BBXBiSmVuVI7EIBcbBktu64zwGBKAM5HY0wY/WPLKLg+6 X-Received: by 2002:a17:90b:4f87:b0:1fb:62d6:5133 with SMTP id qe7-20020a17090b4f8700b001fb62d65133mr2719948pjb.66.1661254182153; Tue, 23 Aug 2022 04:29:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661254182; cv=none; d=google.com; s=arc-20160816; b=hN7lv3LcznRWenTJ3G8jI+h7OqFqB7cT73/JQl4qE1ToQn3a8Y1Ps4XKZv1HMDwNtN qtBovaXo4geNql34eUFFZbIKzJP6GndrT/3U4ztxbVNMOmpfEQT+NKor0QCcc7ITGoUK iW8WQkyDViR0XmdplK2SmNGRJl82dt3hQSXsnIbuxEw3JthGwmGbnqBDQOZiAYtvo6eU 1pqtTQ92FZyHoOtOgL6ddaPrU+JdwX60jLp4A4Mxpnmz8maejT4TiVuQrW/yBXe/TdyR 7LnD8PZuvzzxBuPn80VHkz15Nz/ufWZKM3K8oV9LT6WLQ6QyxZ4hWg/w6sLe1quLC70o Nw+Q== 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=T0geBRFCzUBxnCOPtmLIDP4fDnVDE11d2PzzuTP1dR4=; b=m8dNgbwC8OcidZrEJYrDRoJ9BzWR5A6F1H0Jc7nlVeqywjF8LPQyIMAJl2k/fnZWqn b+49Ry2EbEzyHGIDiyCzykYN1mzhixbyyCPhqk0MGhJ4GyZJ/VPCJ3FN2E07TYqVkdCN 9rYeatIpG1Co5N46nkLBZR9Ah7xQaaIr6bC5eKM5Z6MJ8ZocLazhJ7rq8SI7EkWi28y9 0T+IIoLH5WMT3gE3zOmWD97Opg7heADax1PbYNVu7uetyGV9bXtdMTqY7xLhPFEDIGDg aOTEx9QPSzzM5sHRwu76SAXSSuiJZ8NvMxSJyYa9rAabg8SxyI91NdS/TfnBy1YCIO6R QnSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Tjkx4HNs; 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 36-20020a631864000000b0041df966444esi15335419pgy.59.2022.08.23.04.29.30; Tue, 23 Aug 2022 04:29:42 -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=Tjkx4HNs; 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 S1349973AbiHWJ3n (ORCPT + 99 others); Tue, 23 Aug 2022 05:29:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1349721AbiHWJ1Q (ORCPT ); Tue, 23 Aug 2022 05:27:16 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AF570915FE; Tue, 23 Aug 2022 01:37:21 -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 ams.source.kernel.org (Postfix) with ESMTPS id BB389B81C28; Tue, 23 Aug 2022 08:36:26 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0BA96C433C1; Tue, 23 Aug 2022 08:36:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661243785; bh=lC8VNserpxc9lEksxhxWfyjpwHq+IYvvwv2JOQYygBA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Tjkx4HNsBGnJTim9J2YCSVgy/zD23eFDhe3Nd0xAS4NeRQ5xQ2DhFtjfwywn5/7Ek uZ4uUICWhraZhiDtIPstyPyMW8SBHo6g2ZghGLSG1b1438t2HUvUkeQx24Ypyfzcsu 6DCp6vdiAuN+/AtPUIJ8XIGHP+jhjxhk75FsqYSw= 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.14 021/229] ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model Date: Tue, 23 Aug 2022 10:23:02 +0200 Message-Id: <20220823080054.205889775@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080053.202747790@linuxfoundation.org> References: <20220823080053.202747790@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 @@ -244,6 +244,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, @@ -787,6 +788,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, @@ -977,7 +986,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),