Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2889164rwb; Mon, 15 Aug 2022 13:22:49 -0700 (PDT) X-Google-Smtp-Source: AA6agR6q/W4RRxm45TEyDXcTcevp8yEajJ4OuN1eYK1RcUqEerWxkboGC+HYZKEjx9GzZQ/0PQYD X-Received: by 2002:a17:907:7fa1:b0:734:b26a:17bc with SMTP id qk33-20020a1709077fa100b00734b26a17bcmr11298073ejc.157.1660594968914; Mon, 15 Aug 2022 13:22:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660594968; cv=none; d=google.com; s=arc-20160816; b=jbgHsbxYzv0TdLn6zfVLPPc/nZn8ju5Z0WQExAE5a/7DlgCzuvmQnWnT+LiMq9yi29 ZSblIw/MPvmN5xLQaRSEHqA6bzgNcjvH5TtVTe+B50Hi6I1OC0Adom3OMnoOcz/4rijX t4CB3bCVdo3xeyITOP1S9lhxZq7huKZeP+3hAugOTCsDPfVdss0k0en2+YmuzpBNOMfV TzciWLuQhYFyaStu4/lTc7xZYSdRj8Qb+9V9DeeIpMC3sbcW1gdH/SrAVSP+UW/TtOJt CU0m4giQV7QDDxXgh2nc4eMZ4c++rJ7olOQiE8ugz0W4BnzeM4oEa4MJE5hsjbDVTgRb mDLg== 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=h+ZHM8eAceKvN4no9mhjPDLJ0u0IB6XD4PJ7IZA+wLA=; b=mGyn2J6/UxV+p3W/VMEbFya8X/IJG55TYYWJqn+YtErbA8GlHIXgTBqT5CXonMko29 4SJjBTXsqwUrDuAHqhJcFq2Xq2ELyOpLRQQ0jzGFQJxC4sRGHfs+iC6N8Y2Kz6Sr1/L0 K5jBn3KyHOY2LwD/ZIyI22hbPqLOqKovjuKsaJXUVxUUkInLSTMUW+4NvdFUc3zlILtw PK8KOZyErVe9aLvERGMB0cwvmHwDOq/9CFDbtZx/+Fd8Wh73cReDqqX2/B+K85eWTXLI ErLXs19VOicKJ5QeXEI1XKkfjTaRdowK3xNDNZue2xCutd4OqoDw336nhsvN1Qtv1gYF fScw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=1MpXWzRO; 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 b24-20020a05640202d800b0043e47007b73si8126863edx.406.2022.08.15.13.22.20; Mon, 15 Aug 2022 13:22:48 -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=1MpXWzRO; 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 S233512AbiHOUNa (ORCPT + 99 others); Mon, 15 Aug 2022 16:13:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53260 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243972AbiHOUJg (ORCPT ); Mon, 15 Aug 2022 16:09:36 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F02ED299; Mon, 15 Aug 2022 11:56:06 -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 8E1D06125B; Mon, 15 Aug 2022 18:56:06 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 98F76C433B5; Mon, 15 Aug 2022 18:56:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660589766; bh=ELjryB8FWGLugOIuSJFH96NH9H+/KyRj7dUBAwO2eqs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=1MpXWzROWKlrW4HGu4RpcppXzG7R/HtVbiF7UIo2YN/djlo/TgKRh8AsjuJY/6Tlz JnDrXMTtJ2XMO0rhZDLIYe/9g5CZcSVM9azQPx3eMIQ6QilHz3MOa5EFEWvnyNrkWv QHLDSMTxuq/hjEl2MOFzt2qJiNp5H0v83TLEt2Xc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Meng Tang , Takashi Iwai Subject: [PATCH 5.18 0042/1095] ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model Date: Mon, 15 Aug 2022 19:50:41 +0200 Message-Id: <20220815180431.175225230@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@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 @@ -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 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),