Received: by 2002:a05:6358:5282:b0:b5:90e7:25cb with SMTP id g2csp3409527rwa; Tue, 23 Aug 2022 04:25:23 -0700 (PDT) X-Google-Smtp-Source: AA6agR5md5BczNw6FXspLP/NUhB6PEBqSr7fbYwZaco8w43p/fj64UcDUi2+8jRSKPZ3eX9s2Pap X-Received: by 2002:aa7:d7d0:0:b0:445:bd03:bc90 with SMTP id e16-20020aa7d7d0000000b00445bd03bc90mr3227228eds.238.1661253922951; Tue, 23 Aug 2022 04:25:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1661253922; cv=none; d=google.com; s=arc-20160816; b=MbSMzMtFQPWMcdZ6cpyc1iwE/NTOugXq+xFf0cKfnPDW7X3lIk9xmeR+saOzX4XxCZ obQvnAHPbHmPg/oIEU4vPgX6enUU+vogv6S4UtRcy8CXerRU+t8MKNwtg4jmGSKJB4vG 1GTEgI/G0iAuTJvqSv7fX88pA0Z2buXdIu2nw9BVzliYrGL9H9qPKe6I4982/O5XYgXQ 1LE8CE5DJXAKlWdFpM40/+qJ2T9EGRh94qqUjU+AwuI+rY1rRLoSW+ucKgOYXHOmyQi8 zhgm08QToIUc49kXD94s6dcaV9TafS1V/9sg9cck1G9veAxH/mI3jDyLkmKOPssjNYbG p+AA== 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=mr/4k4ZEvSWC1z55KHPVpniaabN8wDpzTRxTH4xlMt4=; b=yURmFzwM57humRkLrYmPYF98Hc+sIh8yKXjMi8zwjjFWcRnqrhxsNHx7d/ewX5XNOJ +gZhGRUlsigQYXaYjn0jvKT4NkOSUdVK23ETLfGR81GYIcwJSndh+gKnhDu4IWurLZW2 UnsjL3oxHv1xARWl/dsSyJXEsP+ZwpKypFfP048gpVzxNLEn0U1KJB7T/xkb9FTR8Vin Qwb+IxFSbfHA/x0xSXY6VDD+8MwodbNS5vzz1dzuUgqnthrVDxMuKWlu89S7hLX5Rcw2 bs1Gb0J12065aHHkNSJewcLW7iPWQxY1vgozTvsgVXOhgBWBi2daAwgYVgvRjCrRIyfk 3fiQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=lEGNWwTO; 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 eb6-20020a0564020d0600b004359f471717si2256564edb.0.2022.08.23.04.24.57; Tue, 23 Aug 2022 04:25:22 -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=lEGNWwTO; 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 S1355131AbiHWKbG (ORCPT + 99 others); Tue, 23 Aug 2022 06:31:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1353600AbiHWKPN (ORCPT ); Tue, 23 Aug 2022 06:15:13 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7A0FF73914; Tue, 23 Aug 2022 02:00:29 -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 2F0B9B81C1C; Tue, 23 Aug 2022 09:00:28 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C918C433D6; Tue, 23 Aug 2022 09:00:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1661245227; bh=U1rA9f4DTCCkirjhGnPh2pZ8zx93U4HgL9Ax5XwKJAs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=lEGNWwTOjxaLTguUl3lND7TLUuQTxeL8I38rgXpno8o2Xa/bluKkN7GQCvH4+udbz eglwIUwR/5TK0RD52PY7knIgxkv1feCZ2ZWtmAYHcf5oUeWYr8Nx3g7Xnsp6IlzXuP Q+u2aW75wij6AzrhmzmQA1kXzR04mybJoTGe5/y8= 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.19 012/287] ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model Date: Tue, 23 Aug 2022 10:23:01 +0200 Message-Id: <20220823080100.685669709@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220823080100.268827165@linuxfoundation.org> References: <20220823080100.268827165@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 @@ -210,6 +210,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, @@ -750,6 +751,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, @@ -943,7 +952,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),