Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2926494iog; Mon, 27 Jun 2022 05:56:44 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vo4itpBCuq9MsWHyaeZoXRwzwSkdATRnHIwyKwumRmM/KKU2H5QadiTh9tlLuGG0fmXM9b X-Received: by 2002:a17:902:db0c:b0:16a:4b7e:af5e with SMTP id m12-20020a170902db0c00b0016a4b7eaf5emr14310290plx.145.1656334604656; Mon, 27 Jun 2022 05:56:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656334604; cv=none; d=google.com; s=arc-20160816; b=Flbfp/vHuy66LpfW6cBQZmCehdbiLDQo0mE+du0VgOIXIWD8h43uLRF3i7PPm/FqsB L8d9p4ZoRTppW9+dx0hIh6CGOT62n7ocPXLliDuovqTXbuGjR7X+SfZQrozUmpt0pdAi tACJ/hxhiqn5pDh8n8Mu7UyDt11mjGbF9aVSWz1YtEbiuE0UNuH440tqGwsxEhj+rsdo e19FwPHWFZHeZn83AWPl+iSeQI9QCu1yU+G2grVGHu3hsy6qpse2+FEZ8YG+HfHH52cK N9GzEIE29NBR207Zs0cqeegLrXICopbr/i7iitH4y5/al3XlnleG3stEF5vvpzQzpr+o 7K5Q== 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=AAMwvHToUwc8rBg0c4Njjpt7tQ5bKL4oskvc304l8eM=; b=A0KUt/Liyyj+IQzFQTwIu2bQQI4kRMglXhMt0musL4kSLBaRUbzHDsdAMCIqsRVCxN RkREer9EaoWdttKrSySGsI/F0Qw0htt/1JK0Gtpq3rslK03xEXxaCI9Ea5A6D+ecoAeE uaoaq7DOjS02SLcKjq2rNf54B/9Szfu6btmLpAD/k9xNNxaTfN3zBw4BJWrUAxU7gYzZ 2cvVf3CSiwEL9odfJJvvcGORZOM3M+cvcXO3EEgAdFuLY7jeMpMvSNTYnuWC8jKUlpdL /sdXsOiI3wJnIIx6bqodKwjozPQMYcqG3nidJ9UR1lj6tuRZjE19+JkpCF3cNOtOjT0H hD9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LVPvcrJj; 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 e12-20020a170902f10c00b00163f5028fe7si10652047plb.365.2022.06.27.05.56.30; Mon, 27 Jun 2022 05:56:44 -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=LVPvcrJj; 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 S236603AbiF0Lit (ORCPT + 99 others); Mon, 27 Jun 2022 07:38:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34892 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236435AbiF0Lhb (ORCPT ); Mon, 27 Jun 2022 07:37:31 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7EFA22611; Mon, 27 Jun 2022 04:32:37 -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 40507B80E6F; Mon, 27 Jun 2022 11:32:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id AE161C3411D; Mon, 27 Jun 2022 11:32:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656329555; bh=tkJ1LgvX+GAPmgrFsw38JGxjxTf4yOBpQcrHf4qRLeU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LVPvcrJjl8F6SVxV+FxEfAVA8tHEpRiXp5dlF8JrwVCtlj+fi835aMvsnY+u2DmIu iQVjl8re3ywHiRnC/5qd+qsNDYdsNGClCT+TrR1mqJ0OVK9jfbQMpr2svpL+9M7iSx JcXYGI2jaKIgCsbxdd2SSNb+kH4Shui2TXbUayR8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Kailang Yang , Takashi Iwai Subject: [PATCH 5.15 006/135] ALSA: hda/realtek - ALC897 headset MIC no sound Date: Mon, 27 Jun 2022 13:20:13 +0200 Message-Id: <20220627111938.343433471@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220627111938.151743692@linuxfoundation.org> References: <20220627111938.151743692@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=-7.5 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: Kailang Yang commit fe6900bd8156467365bd5b976df64928fdebfeb0 upstream. There is not have Headset Mic verb table in BIOS default. So, it will have recording issue from headset MIC. Add the verb table value without jack detect. It will turn on Headset Mic. Signed-off-by: Kailang Yang Cc: Link: https://lore.kernel.org/r/719133a27d8844a890002cb817001dfa@realtek.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_realtek.c | 9 +++++++++ 1 file changed, 9 insertions(+) --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -10522,6 +10522,7 @@ enum { ALC668_FIXUP_MIC_DET_COEF, ALC897_FIXUP_LENOVO_HEADSET_MIC, ALC897_FIXUP_HEADSET_MIC_PIN, + ALC897_FIXUP_HP_HSMIC_VERB, }; static const struct hda_fixup alc662_fixups[] = { @@ -10941,6 +10942,13 @@ static const struct hda_fixup alc662_fix .chained = true, .chain_id = ALC897_FIXUP_LENOVO_HEADSET_MIC }, + [ALC897_FIXUP_HP_HSMIC_VERB] = { + .type = HDA_FIXUP_PINS, + .v.pins = (const struct hda_pintbl[]) { + { 0x19, 0x01a1913c }, /* use as headset mic, without its own jack detect */ + { } + }, + }, }; static const struct snd_pci_quirk alc662_fixup_tbl[] = { @@ -10966,6 +10974,7 @@ static const struct snd_pci_quirk alc662 SND_PCI_QUIRK(0x1028, 0x0698, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1028, 0x069f, "Dell", ALC668_FIXUP_DELL_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x103c, 0x1632, "HP RP5800", ALC662_FIXUP_HP_RP5800), + SND_PCI_QUIRK(0x103c, 0x8719, "HP", ALC897_FIXUP_HP_HSMIC_VERB), SND_PCI_QUIRK(0x103c, 0x873e, "HP", ALC671_FIXUP_HP_HEADSET_MIC2), SND_PCI_QUIRK(0x103c, 0x885f, "HP 288 Pro G8", ALC671_FIXUP_HP_HEADSET_MIC2), SND_PCI_QUIRK(0x1043, 0x1080, "Asus UX501VW", ALC668_FIXUP_HEADSET_MODE),