Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1049975iob; Fri, 13 May 2022 21:06:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxnMdhy5t8QxQrzo9LwJDulKDDvhSX4tx/e4cNmmUOuY2AnT99lJKQP36/Qw2sbis0RBxPQ X-Received: by 2002:adf:f809:0:b0:20a:c40d:ae9a with SMTP id s9-20020adff809000000b0020ac40dae9amr6229251wrp.609.1652501200691; Fri, 13 May 2022 21:06:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652501200; cv=none; d=google.com; s=arc-20160816; b=sPGzzhXovL2qFClaRv0pAPlIgvYVrKIWLJXCsI+GobonXCojR3MF0KnTsgUhj243zP C/mXRZee/bjkdPme9IBdF+p0XSUFOq9pHQ26zJln/jRlprFEvcjrQpxZShAJ0AFggOO4 nJ6LINgvwyMcbTN3RXGphse561fK6qFsqVzxsV5bvrHzw8yh37/BC8FiZjIsQCAqjZRF 44/6rpj5jimf0JxUPlKhNc/ZQXcfhiMPTA3Zc7mJUmedz7m0NN8ThtFmQKhZxomW1qwP giTK6BwMTAot1dN58lTTtgT5X6Td54DMggfCnug4qOvU2jyMTxp9we2NiX/UVWLUuJUl beKQ== 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:to:from:dkim-signature; bh=A2n5sD5PlZmYPf2hFGu+p+YBV2HHDNxahTVJoqeq6rc=; b=ZtpNsmHkKCxJcMlwdF91NxIPsqjlVICCh4yG+mJUIuErguQvpTr/ONjquIM3YeZoVU W5esnGGD8KxLvlxXY52jVqGQaVW4YNg202BdIcE33kaaGW3eC5eh0mGZnH7MXWA7QFiA NM7Y4VgyVOn9WvBm6ozRoyIPnCvMgyqgXnhQ0PgvCjmc6R5QobwCc/4m8IFP6kGkKpgX KSrwymrYZI33YipPeL6WyFws8GMttepKAT3mdGtuwYEonMqBw1DZplGIff1kdLxzlhRp vsCggjXAYmbe+64ULz/FtkRoeOe6wZnKeDlHE3ye3ktBt+YC08z6fJhhwZQ4xhGf+iAG uMZA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@tuxedocomputers.com header.s=default header.b=V9vBq+2A; 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=tuxedocomputers.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id d14-20020adffd8e000000b0020ad9d413ecsi3744663wrr.223.2022.05.13.21.06.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 21:06:40 -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=@tuxedocomputers.com header.s=default header.b=V9vBq+2A; 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=tuxedocomputers.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id C49B14BF87A; Fri, 13 May 2022 17:38:21 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1357495AbiELSKG (ORCPT + 99 others); Thu, 12 May 2022 14:10:06 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43670 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1357486AbiELSKD (ORCPT ); Thu, 12 May 2022 14:10:03 -0400 Received: from srv6.fidu.org (srv6.fidu.org [159.69.62.71]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7148326FA46 for ; Thu, 12 May 2022 11:10:00 -0700 (PDT) Received: from localhost (localhost.localdomain [127.0.0.1]) by srv6.fidu.org (Postfix) with ESMTP id B7584C800A0; Thu, 12 May 2022 20:09:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= tuxedocomputers.com; h=content-transfer-encoding:mime-version :x-mailer:message-id:date:date:subject:subject:from:from; s= default; t=1652378999; x=1654193400; bh=lnzILpdh2K8lGWVaQPF3fcRF vtUVSxBJPnRKUuK178o=; b=V9vBq+2AoWAORWo09hcDuIxXZ2KL8nvT/vS28wQ1 gbqzm5HsslAad7b7vFdOySu/UK/LrRBOkWi1EIID+Rk6wsJZ9lZgt77deuD5dOsA jXIKjag/acvjqqnIpagdDJeYR8qURO3+DawvndbSD9L0p10zjac5a2V1xs+g332B hbw= X-Virus-Scanned: Debian amavisd-new at srv6.fidu.org Received: from srv6.fidu.org ([127.0.0.1]) by localhost (srv6.fidu.org [127.0.0.1]) (amavisd-new, port 10026) with LMTP id njhnehTx8C5h; Thu, 12 May 2022 20:09:59 +0200 (CEST) Received: from wsembach-tuxedo.fritz.box (host-212-18-30-247.customer.m-online.net [212.18.30.247]) (Authenticated sender: wse@tuxedocomputers.com) by srv6.fidu.org (Postfix) with ESMTPA id 1615BC8009E; Thu, 12 May 2022 20:09:59 +0200 (CEST) From: Werner Sembach To: perex@perex.cz, tiwai@suse.com, kai.vehmanen@linux.intel.com, pierre-louis.bossart@linux.intel.com, imre.deak@intel.com, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] ALSA: hda/realtek: Add quirk for TongFang devices with pop noise Date: Thu, 12 May 2022 20:09:56 +0200 Message-Id: <20220512180956.281804-1-wse@tuxedocomputers.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,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=no 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 When audio stops playing there is an audible "pop"-noise when using headphones on the TongFang GMxMRxx, GKxNRxx, GMxZGxx, GMxTGxx and GMxAGxx. This quirk fixes this mostly. Signed-off-by: Werner Sembach Cc: stable@vger.kernel.org --- sound/pci/hda/patch_realtek.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index cf531c1efa132..8003bf7441d6d 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c @@ -9290,6 +9290,14 @@ static const struct snd_pci_quirk alc269_fixup_tbl[] = { SND_PCI_QUIRK(0x1c06, 0x2013, "Lemote A1802", ALC269_FIXUP_LEMOTE_A1802), SND_PCI_QUIRK(0x1c06, 0x2015, "Lemote A190X", ALC269_FIXUP_LEMOTE_A190X), SND_PCI_QUIRK(0x1d05, 0x1132, "TongFang PHxTxX1", ALC256_FIXUP_SET_COEF_DEFAULTS), + SND_PCI_QUIRK(0x1d05, 0x1096, "TongFang GMxMRxx", ALC269_FIXUP_NO_SHUTUP), + SND_PCI_QUIRK(0x1d05, 0x1100, "TongFang GKxNRxx", ALC269_FIXUP_NO_SHUTUP), + SND_PCI_QUIRK(0x1d05, 0x1111, "TongFang GMxZGxx", ALC269_FIXUP_NO_SHUTUP), + SND_PCI_QUIRK(0x1d05, 0x1119, "TongFang GMxZGxx", ALC269_FIXUP_NO_SHUTUP), + SND_PCI_QUIRK(0x1d05, 0x1129, "TongFang GMxZGxx", ALC269_FIXUP_NO_SHUTUP), + SND_PCI_QUIRK(0x1d05, 0x1147, "TongFang GMxTGxx", ALC269_FIXUP_NO_SHUTUP), + SND_PCI_QUIRK(0x1d05, 0x115c, "TongFang GMxTGxx", ALC269_FIXUP_NO_SHUTUP), + SND_PCI_QUIRK(0x1d05, 0x121b, "TongFang GMxAGxx", ALC269_FIXUP_NO_SHUTUP), SND_PCI_QUIRK(0x1d72, 0x1602, "RedmiBook", ALC255_FIXUP_XIAOMI_HEADSET_MIC), SND_PCI_QUIRK(0x1d72, 0x1701, "XiaomiNotebook Pro", ALC298_FIXUP_DELL1_MIC_NO_PRESENCE), SND_PCI_QUIRK(0x1d72, 0x1901, "RedmiBook 14", ALC256_FIXUP_ASUS_HEADSET_MIC), -- 2.25.1