Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp2180142pxb; Fri, 25 Mar 2022 12:31:28 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxeYXQW1n8bOltQDmuH7AYJK4uZhyAKU70oFciEJQNkZm5qcxkCgOXO3XoyHwxzWcrdPb23 X-Received: by 2002:a05:6a00:140a:b0:4e0:54d5:d01 with SMTP id l10-20020a056a00140a00b004e054d50d01mr11648652pfu.20.1648236688099; Fri, 25 Mar 2022 12:31:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648236688; cv=none; d=google.com; s=arc-20160816; b=lvg6O8E+/sDCQYmW07qAWvIGPPgVeyulINZ9ZmCrf8vUtP9uV98vt2i3ifVSrGngwx elnDolpWvLUxhVoXxoLAvtLp+uOSp9xFC4MpGXOeLZ36jnl70wBbdJXc9q27EC7Q1zsc SuCrpOA2DUwyg9DdIOVZP5712Fwb7c3H595mBJ/xEjaJyXkMaI8xRjBz6JrbE9vWNZcd N3T8MBjKkw2qCnHnrfYkCteFxEVMroq8Do0dz+4Tli2XNkqREOSaVlQGXKb350IEhExy E8dIOzXcdb6TEQZTwR400ZUOOzSJTUWhgaYrFcHduZh0wrKmuYkgGE2e3Zj5PMzxA/ai dlgg== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=OA8100kM+8BvVa/E6bZ9DGd04WTsE6yOkFCC60dlMtE=; b=y3MwFQbPmX4Kab5DfRpS9r2LrExTzcyYXZJF1C4S0ZPlxMu+VbFhL3lABcjEt3YbQn hn4IqBvN5pr2hGwctZZILKgj6clYRLi7LEVUCtu7aYeFKFxeAmexCLFjr+2JFxDdGMNy ZEHD4XE+EYfPkdnYYLFttlm0pnG1ziBYhHyWC0ka0i+qVTWMQvpRPlYshcFI8XLoYInR jvL1tl3weu/LJN98h50nvdy4XXOfvaCIrFti4RNkWswwK44Uh9pIsC1yyxpErmUiAWA7 iwiv90NM6niSks5XJyHEGDd1ompJdu5fMpBTU4b8ba4ZQ/tFPhYdnNFc3O2KK6gkkqRv BJPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=klGsK3do; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id x8-20020aa78f08000000b004fa3a8dff4fsi3649240pfr.6.2022.03.25.12.31.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 25 Mar 2022 12:31:28 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=klGsK3do; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canonical.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 3193C2F09FF; Fri, 25 Mar 2022 11:44:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376767AbiCYQHs (ORCPT + 99 others); Fri, 25 Mar 2022 12:07:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1376785AbiCYQHn (ORCPT ); Fri, 25 Mar 2022 12:07:43 -0400 Received: from smtp-relay-canonical-1.canonical.com (smtp-relay-canonical-1.canonical.com [185.125.188.121]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D363AAF1FA for ; Fri, 25 Mar 2022 09:06:03 -0700 (PDT) Received: from localhost.localdomain (unknown [10.101.196.174]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-1.canonical.com (Postfix) with ESMTPSA id E28D93F740; Fri, 25 Mar 2022 16:05:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1648224354; bh=OA8100kM+8BvVa/E6bZ9DGd04WTsE6yOkFCC60dlMtE=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=klGsK3do1OYdQZDfA2fuzXlRxnhQNtDq8VVOnt+utOHPEnHlsDRL1SzxKJkjXXPaa eIWBiHurMaHMYITVzJeFPKaC+k46UBsrn1QKrUZq/+3NjhUkV70nldwj63r4dnSSjP EXvBUibKhmgODO/ahn6ulyzxLkp083FCpapYTPTKnXdmZ/N7s+IsE+yuzphAO/pIVF hKvncHpVrbVElll2Lpn+E5K7s1fXJyeNsZ2Rvf6ntJepNQXSLMXzxSFwMVIM/XOyK6 ClOZPVt9uhIg1UVkf0SRbbThS5+Lybv2P0wunvNSUu6h/T0nNfNtb8YGbKTY8xn+2k TYTyhsfrpW3XA== From: Kai-Heng Feng To: tiwai@suse.com Cc: Kai-Heng Feng , Jaroslav Kysela , Jeremy Szu , Werner Sembach , Hui Wang , Lucas Tanure , Cameron Berkenpas , Kailang Yang , Sami Loone , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH] ALSA: hda/realtek: Enable headset mic on Lenovo P360 Date: Sat, 26 Mar 2022 00:05:00 +0800 Message-Id: <20220325160501.705221-1-kai.heng.feng@canonical.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 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 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 --- 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 e88fbef57c40c..4c33cb57963db 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -11152,6 +11152,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.34.1