Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2908041iog; Mon, 27 Jun 2022 05:32:50 -0700 (PDT) X-Google-Smtp-Source: AGRyM1v3dlDYjETiWhX7cUCFCyQnMTP/VnhxIkK3MlxUdwW3uP+DF0MKqq7krU5y8MSTkA8gWGiz X-Received: by 2002:a17:906:7a0e:b0:722:e8ce:8c7f with SMTP id d14-20020a1709067a0e00b00722e8ce8c7fmr12651088ejo.405.1656333169854; Mon, 27 Jun 2022 05:32:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656333169; cv=none; d=google.com; s=arc-20160816; b=kSD8faXXm56HrP57AiEAm96psAdmLVVOiPwnm+HFQ+iacjl7kGkKEQhWnN6JQ+sz3A OFsnrS+YWJzvDPwYKxFXbtfvDkXk+SF9J/3K6BrNuKsLvwJs8zCtvkl8OjNDhQahH3mJ gdlMVOafiFjL06q2pDGIsshEI0ysliQbeycSEESLhxb0zvt2xdXbpw+D6HJEiFc/lHGC uLDejFsGjXcEghDsZGWKbuiEznyZPjGNdd+TNI/JKvGRQ5yQA6IPMjPUxtyl9kvtwfF9 MlVnpGj8+FsbXXzr9N2bEcYCijJ/ZGlGxZ8KXqYQXDp6u+3+K7sZthjGmy/+UDis71Ed T1gA== 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=6Zm0vcq9eu1mHHKm/qdE8/ZCsnlvoITF0QLOJw+cqjc=; b=SjNU3TApJbj2/kqX+dPg6KwI7a3lt8/l6CPD40IRQ+fSy706Wh0whnK2JXQr2ApB6J ffcfKyR8Om3ckgx5qBT6zcImZ5bJDxD8ybqifI+chZwATZUIYbx42hi44DgzylzV0NFB B5l7+bnO574IjN59nQ/dwF4ATT3lwPMPBXbtNNiY5K+dixyAeGsyx1W2Eo0amQW+D3mO ridLcEeXHOPYtlKEiEEtBbseUAospRyulP2W0eWP0n91cprjkDQ9N3V6wlPqHlE10X3k SHtJnXa/Rl2oBh4EKG1X4QrA7vMLMS1rl2lBDvw5cn7Dm1p+1oacbzJX7YCQVVQZMbTq 2yLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zHfZ4bDB; 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 qw9-20020a1709066a0900b007262b36f3e6si10792969ejc.772.2022.06.27.05.32.24; Mon, 27 Jun 2022 05:32:49 -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=zHfZ4bDB; 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 S234795AbiF0LZE (ORCPT + 99 others); Mon, 27 Jun 2022 07:25:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44922 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234797AbiF0LYq (ORCPT ); Mon, 27 Jun 2022 07:24:46 -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 BE3C36581; Mon, 27 Jun 2022 04:24:45 -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 5E013B8111B; Mon, 27 Jun 2022 11:24:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id BC64FC36AE2; Mon, 27 Jun 2022 11:24:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656329083; bh=Vn9mI427kOedHB8tP0Fi9QXMu8BjFDGnwHZ9a+pfulM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zHfZ4bDBNDxlFZqr6fPIkLrpKC7tSoNNhFJSsHwuhhhLfczSyDw9JHxOATEtcjX5l nccpACUvQUbaQARdkSOP4bGlrqSgAGnXzpvbAE2jdDWZ3LLMB0zkn9tJW+oNszmDdB 6xn/Yt8te58I+y4Hl9epYHCyE73MP3ZbRQMopO14= 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.10 007/102] ALSA: hda/realtek - ALC897 headset MIC no sound Date: Mon, 27 Jun 2022 13:20:18 +0200 Message-Id: <20220627111933.680535808@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220627111933.455024953@linuxfoundation.org> References: <20220627111933.455024953@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 @@ -10447,6 +10447,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[] = { @@ -10866,6 +10867,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[] = { @@ -10891,6 +10899,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),