From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id B56F7C433F5 for ; Thu, 7 Apr 2022 01:12:06 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 1DFED16EF; Thu, 7 Apr 2022 03:11:14 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 1DFED16EF DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1649293924; bh=mmdYtl3x2KCTxKGKtHrh93tvOnYEO24SwrXgLn3ty/M=; h=From:To:Subject:Date:In-Reply-To:References:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=vfc50aKYoALFB0atLNE0Oe+ZMr+MbpBOMPZF8yqrbeJA/EUlSIlSYdATVy8Bf/sjV ja36E/WKRwzdjDk6fbdaSCIdxoPr/npFoI8yuUOKrgLFo+mRvA0Ie0/B0zV4Sq+kL1 5StnSBGDk0GzyhnnEwbvISH0+JKPopKx+uJjlPvE= Received: from alsa1.perex.cz (localhost.localdomain [127.0.0.1]) by alsa1.perex.cz (Postfix) with ESMTP id A03BEF800D2; Thu, 7 Apr 2022 03:11:13 +0200 (CEST) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 7845FF800D2; Thu, 7 Apr 2022 03:11:12 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 7E539F800D2 for ; Thu, 7 Apr 2022 03:11:06 +0200 (CEST) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 7E539F800D2 Authentication-Results: alsa1.perex.cz; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kVy9wcDE" 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 8A87EB82693; Thu, 7 Apr 2022 01:11:05 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D53A9C385A1; Thu, 7 Apr 2022 01:11:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649293864; bh=mmdYtl3x2KCTxKGKtHrh93tvOnYEO24SwrXgLn3ty/M=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kVy9wcDEl8JsDMUSEnONf/I5RNHAGNMoyyhw8W/VN+P/53hgvr/t1R7r+StdyDD7R dRl/WGvBaB2guXSkuVWsosro9IACSH57piOCGrF/DNNi4EEtLkCLIuN3kEP6RY9cWh bbNHd4oRUQCCqthEooSeaJLyC5AsD5knGyJudQ8ycPogx2g7lapkKgXcSFHst2ODJv P6H/OK6nolRrZ+Y9k2i3PNQbPQfl9fAEJj21NRbn7UXaeB41YS7wmH3keeMIFQV8t1 eFDU2+kX7ChEeVYsgZgmZPsazj+GBA3pPvr7sSuGm5KMQ3UZaxgi2lhWe52FaYqrKa xkvZOeoFBzq+A== From: Sasha Levin To: linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH AUTOSEL 5.17 16/31] ALSA: hda/realtek: Enable headset mic on Lenovo P360 Date: Wed, 6 Apr 2022 21:10:14 -0400 Message-Id: <20220407011029.113321-16-sashal@kernel.org> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220407011029.113321-1-sashal@kernel.org> References: <20220407011029.113321-1-sashal@kernel.org> MIME-Version: 1.0 X-stable: review X-Patchwork-Hint: Ignore Content-Transfer-Encoding: 8bit Cc: Sasha Levin , alsa-devel@alsa-project.org, kailang@realtek.com, tanureal@opensource.cirrus.com, jeremy.szu@canonical.com, Takashi Iwai , tiwai@suse.com, wse@tuxedocomputers.com, hui.wang@canonical.com, Kai-Heng Feng , sami@loone.fi, cam@neo-zeon.de X-BeenThere: alsa-devel@alsa-project.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" 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 75ff7e8498b8..6363764d223d 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -11089,6 +11089,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