Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp2924083iog; Mon, 27 Jun 2022 05:53:24 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tFv7XW+bg1BAaTIBCubV5Oyf1Asyeqx23UdpZhnRSEoVfH8oxlLPrP4hKLNwNxen2ohGZU X-Received: by 2002:a63:6e4f:0:b0:40c:9251:d4a4 with SMTP id j76-20020a636e4f000000b0040c9251d4a4mr12788034pgc.516.1656334404352; Mon, 27 Jun 2022 05:53:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656334404; cv=none; d=google.com; s=arc-20160816; b=b9pX4+o8DdWEtw9bNT6lUPPdBcSGzRLdH4y0RwWxJW1S6xX2ZRxH7eF4CRJx6XESei qBLQboCpoaOGRbwEEycenszLrBXYEwfjkF8LytsY+TmGRHAKMKKsNHqC6MQYX1ouXwKL xWlv6eA+7CNKhSkbK/eLL7uPkJtGSpJaJJEcTwPh0edZGGbiDOb4XKldY4vo/TrumaAd 2Xev9EjUmiMSfexNOZCxRkP0i8PmPsD5gbe5Pkih0fyFNeJy8cERWi1oZUx6XCCb18T9 /rAt/AS+LUjbgEfbQZAmo5AZ+wWKH16H6ynkmOQMcz7FZ0dKKcghO+7xTldsVWdtXgxQ 2o6A== 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=its9flK39/m62RzhRo7F/ziTpheUB5zlXvw8tPyOFQo=; b=FVtIvfk+1AAVOb0FanjpSuBN4KuMmHt605+XPFUBcts+j6rBXudo6Kr6fh+kEi4ppI XPb7zy8JImyl/UbVv/DDZj5CtVjcqZvcGDREit7kgwOSE+OLV7doh1ewcCPK0awRjpAQ 0uNg5Z2yfvCs7o06Vj+ZOh5tPdjmlPLdkiWPx+JLhmCOJoSZQ8hQzDsxfGYmE71TH9d6 Dwv+ViE+GwMi5OfeBBpetsLUiDh41quuy27i4ZixnpdArYj1GSbjScpRQ+rOxPNzFfOD bo4Ge93AvSadUiuvaMMr2NMY4Mhr0flLPfWZqxFElyLkEgBHPJhsD5PqenfPT+xrUFr0 gDfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=gCyMAu5i; 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 s18-20020a63e812000000b0040d2a16174dsi14201429pgh.599.2022.06.27.05.53.12; Mon, 27 Jun 2022 05:53:24 -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=gCyMAu5i; 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 S238119AbiF0LuV (ORCPT + 99 others); Mon, 27 Jun 2022 07:50:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238195AbiF0LsE (ORCPT ); Mon, 27 Jun 2022 07:48:04 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3B096BC95; Mon, 27 Jun 2022 04:39:58 -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 E2E5FB81122; Mon, 27 Jun 2022 11:39:56 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3866BC3411D; Mon, 27 Jun 2022 11:39:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1656329995; bh=nZxMtLfrzJzEQweQCe1JYlbz8R4wQjJhGeyDWBD00C0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gCyMAu5iYIgkv8u80Vqo2AghUkql9pYeSf1jbrf2SKTNO7P2nSaGt66cIQf4y090C 6McHKf+cryKjSak5AI62mt82B5K7aJPk/DKBxffZg+sEWA7Q665AXL3DAvJFdtQlvd HaPP25Miu/UdflSYCf66F28nnnF93CdLOArV4vr4= 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.18 008/181] ALSA: hda/realtek - ALC897 headset MIC no sound Date: Mon, 27 Jun 2022 13:19:41 +0200 Message-Id: <20220627111944.801536943@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220627111944.553492442@linuxfoundation.org> References: <20220627111944.553492442@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 @@ -10790,6 +10790,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[] = { @@ -11209,6 +11210,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[] = { @@ -11234,6 +11242,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),