Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2885264rwb; Mon, 15 Aug 2022 13:17:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR6pgiIHCuEw8otIwoUw5BU7D+vO+nE5HRufZwBdKbEDnD77WgXjWmWpga88LnUXdtMyveip X-Received: by 2002:a05:6402:611:b0:43c:cb2d:76c0 with SMTP id n17-20020a056402061100b0043ccb2d76c0mr15974069edv.425.1660594672473; Mon, 15 Aug 2022 13:17:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660594672; cv=none; d=google.com; s=arc-20160816; b=tc1ztWWfkUP7Cra63g/IVjqtvV86FHhUABv96D6rJMoBX9qDh8mPcWx0MeZ07PlLHW JoIDqltPPTSrQ1qJi3C7lR/4fJEnpUC3PA6BgQXjf+51OMo0pqesAxr39UoO17y32iz8 jZjdOdhJ+/WJrvCTez8iIxNDroRDkoi2PXHOqJgW2/R/nObJnYWe8z0NSp4TNbFAb6iz 9IW2uJr8zuxP/v2nTf6rF3G1O7oed0n4j4ZZTChYXy2+QJgZXoC+w1rb0+nT21pjLIBs pXNAjsqD88/bu7ruMD9U3GlnMxtSv3lk9wVTmm1l5wliO1ZO2ACnzNnhwECul9ZoV/BV +zZw== 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=NGBdci+P6jKf43lQ1tbubiuUaQRGhkX2XL5gq1XcTiIjeZS6r88tYbn0TfrNFL6m0P 2kPi+L2jzyFsXppKjEff1vma1f0E2Y9VAjoPKgABouNkcgrceIovsDJpF6A3HMAOqi7Q w1BZSnlA3wFdxKUDkoAQ3iVr/sQgoCLrowZLZczMmZMnSaK+DaKHFvSTXmS3ldglo/iq fZickJ+uCdF6XaHVeVmmLExAZloltKPZ/QMj/uHBq//WQKzw+6MPa1XLYAn71tT5p5Yn fvrngUrfQnbVObyjSuTkfhkX0xyddpyAbmXWT9gxRbMTctIrDvH5K1oNXTbURdcocl+b buYQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=DzJvkYBM; 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 bd28-20020a056402207c00b0043f2c588d55si7543079edb.339.2022.08.15.13.17.24; Mon, 15 Aug 2022 13:17:52 -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=DzJvkYBM; 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 S239551AbiHOSQr (ORCPT + 99 others); Mon, 15 Aug 2022 14:16:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239330AbiHOSQF (ORCPT ); Mon, 15 Aug 2022 14:16:05 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B4D532A415; Mon, 15 Aug 2022 11:14:41 -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 478EBB8106C; Mon, 15 Aug 2022 18:14:40 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B3363C433D6; Mon, 15 Aug 2022 18:14:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660587279; bh=ELjryB8FWGLugOIuSJFH96NH9H+/KyRj7dUBAwO2eqs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=DzJvkYBMEKynH+034kF2WU92KbavBrKCj86rhVWg2vnX8YFLOdUibp8AXs3TDo3+B L2TrCNbDgrHxPLPeNzSbHxfPrZHBBCxZx/EeQ/54YqM1Inmr80S828Bclqqj4Hgb0r 8iMh2i5AIyxv1UYvUwJh+4GEwUFD4JTTXXp6oPO8= 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.15 035/779] ALSA: hda/conexant: Add quirk for LENOVO 20149 Notebook model Date: Mon, 15 Aug 2022 19:54:39 +0200 Message-Id: <20220815180338.730151362@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@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),