Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp1303681iof; Tue, 7 Jun 2022 02:55:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxCHU+EwecleJaTccmD07liIAMFaI67jT0ftbIT0QUV8IrbLsarfnhWVVK1FDa6K51P+uR0 X-Received: by 2002:a05:6402:28a2:b0:42d:e116:de8f with SMTP id eg34-20020a05640228a200b0042de116de8fmr31971434edb.305.1654595755441; Tue, 07 Jun 2022 02:55:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654595755; cv=none; d=google.com; s=arc-20160816; b=0BUcJda6nVWXcJ1qYqx8/wefhaFpOGsuzfdA9oceqioku4XXbRd8mAlDE05a65Yj88 G0+2cG+24M+0RYhq49Ni4XEyVpIqmWK5B/hda7R8iiTDTJAuyut7ChmIqE3wRyK61ED0 H2XL45taLBgRHzfh/AJMjwyfv+HVogCtVFKgjf1tCXt0WPoWxk1HWzvaZ4eszuo+lc47 N1JgVqz20YEHsQ6SRxXm/O+dVo+VQb9mcRNNVhWOFZdUaHq3eW7NAZuY7K9SHYzWAFUi ZOD+zTfqnX9rBH+DH76+9k1W5eqfTtBK1Z4CPokVAEYuydHt+HoBF6j8S6LWZd0Qmfqe ic6A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:feedback-id:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from; bh=/sKOBrbZDAs3oUJrvi4dqjoGQwHtC1Xh2g6jLFNhyLk=; b=D8LN2aw+tTv7W1VW5hkkrkOuSNfwdW/NOIytXP6G9GyfgGMxi6/HYlEEeDpILprlYo sBgmL4j1krxuWXUFqUkCTF+NUocLWM9xwiYTbkmGu4+vonZvbOfXjf/Tn1ADx0MsFzh/ qfsk5LRSVeCXmAqu+6NC/2PCphR7Ntwn4TPyE4xqHGoXmuH+wI/bJeu3CQvnotzwyhus oDJ2xmZwS3wFarQAUld5afEmlyQbOMP0X7KUvehPQW+b3ygGbcaLEidqDQrQJM5XSmW9 GG58U7Juu85zxNBUwKv0lzjRRpJRITnYdASrRI4a99Z48ukiJYPI9ZbalXFjE2Bl8lFH Zs0w== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d1-20020a056402516100b0042b3cf57cc9si17418308ede.71.2022.06.07.02.55.28; Tue, 07 Jun 2022 02:55:55 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237324AbiFGG5i (ORCPT + 99 others); Tue, 7 Jun 2022 02:57:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58340 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237352AbiFGG5d (ORCPT ); Tue, 7 Jun 2022 02:57:33 -0400 Received: from smtpbg151.qq.com (smtpbg151.qq.com [18.169.211.239]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6E873CA6D for ; Mon, 6 Jun 2022 23:57:21 -0700 (PDT) X-QQ-mid: bizesmtp73t1654585032t8s42oo4 Received: from localhost.localdomain ( [113.57.152.160]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 07 Jun 2022 14:57:10 +0800 (CST) X-QQ-SSF: 01400000002000B0I000B00A0000000 X-QQ-FEAT: 3uawQE1sH+0UENyeZvBC2+CqJpj1X/QUXqr0o5erVBPRI3rYEoJGAe8aH2Z25 8OgPf7MwX9EgjwGBudMmQ6qGoUtpJ/S+lJ5tB7hvZq8BsklQ+Yt7UcoTMhRoxww78M7Z13o iDaqoANJdy69LLTTKtKCmYTYlUpyehXGDJj/kzTX3ue0Z1JpMbs0FU+VyjkWV4fSWaFBXWM Fa/2ovqlMsZoPK+4dnDWbht8YPZRCTwnNq/UIIh6wMehcRPW0Puw+R201pgKlRyRzNUEAHm A3cxriZ4W2WkpbJw3dttm5tp3gA28bJn4a+G/1/aU/geTTbxGN2WrP/9wwV7rorXT7kTYfC xdcd8dN2/bOVpFbf54= X-QQ-GoodBg: 2 From: huangwenhui To: tiwai@suse.com, perex@perex.cz Cc: alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org, huangwenhui Subject: [PATCH] ALSA: hda/conexant - Fix loopback issue with CX20632 Date: Tue, 7 Jun 2022 14:56:31 +0800 Message-Id: <20220607065631.10708-1-huangwenhuia@uniontech.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:uniontech.com:qybgforeign:qybgforeign9 X-QQ-Bgrelay: 1 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,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 On a machine with CX20632,Alsamixer doesn't have 'Loopback Mixing' and 'Line'. Signed-off-by: huangwenhui --- sound/pci/hda/patch_conexant.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c index aa360a0af284..1248d1a51cf0 100644 --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c @@ -1052,6 +1052,13 @@ static int patch_conexant_auto(struct hda_codec *codec) snd_hda_pick_fixup(codec, cxt5051_fixup_models, cxt5051_fixups, cxt_fixups); break; + case 0x14f15098: + codec->pin_amp_workaround = 1; + spec->gen.mixer_nid = 0x22; + spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; + snd_hda_pick_fixup(codec, cxt5066_fixup_models, + cxt5066_fixups, cxt_fixups); + break; case 0x14f150f2: codec->power_save_node = 1; fallthrough; -- 2.20.1