Received: by 2002:a05:6602:18e:0:0:0:0 with SMTP id m14csp2113373ioo; Mon, 23 May 2022 10:20:09 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw5Jc798lJLoPO0VJvLSYnY1VMDGhFrwWazBP//eN6RpW0QSIbIgFDno1Wd280o3OQAbdAG X-Received: by 2002:a63:c04a:0:b0:3fa:7277:964c with SMTP id z10-20020a63c04a000000b003fa7277964cmr3520072pgi.499.1653326409216; Mon, 23 May 2022 10:20:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1653326409; cv=none; d=google.com; s=arc-20160816; b=nsQaJ3VCIE1jVkF/cujdIa5nVvXVm0LpfK92jodrneV5Sn2P+qztxPwKI8zmPKQyk9 Cnkxdb8QIPX07Yr224sHZjmnffvmVhBitFxs1Y4sOsrTm6PX9V3MWNeQ7HHR2jHRL9YN K7OmW8F/XZVN0FffTXMtuYxM/i1gpC70qaO6cjKUp93+2H6/NtNXVk8EmV2aTt6vteqo qu9khtH2w1khZ7ESYnqdaun3UzEvq1JYwSm+V/izjVXhJFjn17aSFHZDxg5vj9qu93Gk 78TTYdmvt7wIpQUZY7hOa58iCwvhOdPhY1WqNKLKTrXPm6gjbFI7orQWKNQRblIri3EM HzFQ== 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=pha9v/r5RrPpK3vH3LLpPfuVw6Ol9Svw7DfAAWV09Dk=; b=I9tC1q3SI9mkLLXzz82f5CHa64FrFjA83ndM8N8sZZu6dJcYvoBqLC2CiVx++pKIPT 2Rskknmcobkb86y9lsesa+5eGhpPnmbB2EwAYUoYXiA6g11PQM9Tr5jZMjihiGJBa3pZ ocyoHz4xeiHMZtmM/oWmcVYKcwwVTG9szCov1UAtlFbokdNL9FjHCMdzIf1Bnelpq7XD 8C7DQ4seUwdtexF2Yaw758k+hemLmp2LdoH1HSZQLr15IzJECwFBiuH5nQoKwARxbAEe 3mIOVAO1WCM8ryGPnzSH8jzv6/ak0XhI/EwX99YLGpnugzwxZJ+rOejYX3MUjm/THKhS +gYA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AS3iUkLk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id l6-20020a17090ad10600b001df76f9961asi13540357pju.184.2022.05.23.10.20.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 May 2022 10:20:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=AS3iUkLk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4E3457CDC1; Mon, 23 May 2022 10:19:43 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S241040AbiEWRRB (ORCPT + 99 others); Mon, 23 May 2022 13:17:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239778AbiEWRMp (ORCPT ); Mon, 23 May 2022 13:12:45 -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 9CBC16C561; Mon, 23 May 2022 10:12:13 -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 33565614DA; Mon, 23 May 2022 17:11:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 39AE1C385A9; Mon, 23 May 2022 17:11:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1653325914; bh=fa1oLtgVI4Ppzx0utDb8pPN8xg+T5CIkSv3/1+P4pMg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=AS3iUkLk8mZSOLLGK5P8zklZswXAimrK7B+UnjVfdD8HVWZggY12ulLQzblyoCplu QxyKQu3OyV3GSl9Cc7irwGmzw7qtc+k3T1TzIef7133BNV81v8NMI0DvLyFDP/cGPY Bx0eAOkxVqFsHWrSV28rwEuUAsRT15W7il9ybzoc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kai-Heng Feng , Takashi Iwai , Sasha Levin Subject: [PATCH 5.4 10/68] ALSA: hda/realtek: Enable headset mic on Lenovo P360 Date: Mon, 23 May 2022 19:04:37 +0200 Message-Id: <20220523165804.226836031@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220523165802.500642349@linuxfoundation.org> References: <20220523165802.500642349@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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: Kai-Heng Feng [ Upstream commit 5a8738571747c1e275a40b69a608657603867b7e ] Lenovo P360 is another platform equipped with ALC897, and it needs ALC897_FIXUP_HEADSET_MIC_PIN quirk to make its headset mic work. Signed-off-by: Kai-Heng Feng Link: https://lore.kernel.org/r/20220325160501.705221-1-kai.heng.feng@canonical.com Signed-off-by: Takashi Iwai Signed-off-by: Sasha Levin --- sound/pci/hda/patch_realtek.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 851ea79da31c..78b5a0f22a41 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -10233,6 +10233,7 @@ static const struct snd_pci_quirk alc662_fixup_tbl[] = { SND_PCI_QUIRK(0x144d, 0xc051, "Samsung R720", ALC662_FIXUP_IDEAPAD), SND_PCI_QUIRK(0x14cd, 0x5003, "USI", ALC662_FIXUP_USI_HEADSET_MODE), SND_PCI_QUIRK(0x17aa, 0x1036, "Lenovo P520", ALC662_FIXUP_LENOVO_MULTI_CODECS), + SND_PCI_QUIRK(0x17aa, 0x1057, "Lenovo P360", ALC897_FIXUP_HEADSET_MIC_PIN), SND_PCI_QUIRK(0x17aa, 0x32ca, "Lenovo ThinkCentre M80", ALC897_FIXUP_HEADSET_MIC_PIN), SND_PCI_QUIRK(0x17aa, 0x32cb, "Lenovo ThinkCentre M70", ALC897_FIXUP_HEADSET_MIC_PIN), SND_PCI_QUIRK(0x17aa, 0x32cf, "Lenovo ThinkCentre M950", ALC897_FIXUP_HEADSET_MIC_PIN), -- 2.35.1