Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp615915iog; Mon, 13 Jun 2022 09:12:23 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sCgjQipl6WErFd8EGTj3xb4qxESmtQlZX8yyhxq10t7GBePjWL4cbXKvbZWCNZE+Kqjs95 X-Received: by 2002:a17:902:f68a:b0:167:52ee:2c00 with SMTP id l10-20020a170902f68a00b0016752ee2c00mr389432plg.106.1655136742814; Mon, 13 Jun 2022 09:12:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655136742; cv=none; d=google.com; s=arc-20160816; b=W3RMDn0Bf3R4NmBccLxjJawE6XJKOb68cyH8oXtBy6ogfC2ZOH9sQH27PdbX5tuGB4 wHkz8VI57EqXZoxgubnc0eL7rCB/O/VPtjz0z8frEOLfB8kn5oCyI2m7WZumhHuHMjI8 5EraD8eS5Rq9J5hUrQNXwiayxcyK5k3P1J3fAGpGEP0wlEyZVVm/LEmQF+kS2RiTIo+n DbzcERDjfsGeUTl4IZJwcCFGxNyrcFreXq/KAIGvpp2kl4N63csU9W0pilE/H+MLbKUN yvqOfYiQEA2m6IS+52ZGascvUnGJzv5sMWnBYmK+wyNzpF0kRJAS1WdLI7xVsUI0C+hu 0pjQ== 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=sQlyPJA1t7RyNQ45NIfWpG7Wl//3sKX/ozQoqF2D5iY=; b=Q6xiJGani/Ou0FQ9LamYQWpOk1zER4IHjonuaPbeKF3pF9/iwzdfPv1WTEb4o/F20v 3Soq0M8lhUc1YAfP/+ZhXh20w+GdVnbQtwkC5eJM9wfA/2JuYPCYl9hfjq5gjj5Rq//g K0aW+leXxw+rF95Ij1WICx7G9rSe9ddRduBGhIMxr/I04HvsvZNAU7e+SRqmq0w2iRQY rVYGVp3WNaQzubAkcjvu7rkF+Ts628r8TC/keGu/gKHPBS/NvgiQCtNhQFptvuavPeax 7scJZxQGwvOXxhfSmKViGYs/yAQtW+B8E7f4EnF7M7wubL5eei+nq6tnIM7GmMkq4Au7 6hVw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=fzyiiTKY; 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 x3-20020a170902ec8300b00168a4ef6a67si11980266plg.17.2022.06.13.09.12.09; Mon, 13 Jun 2022 09:12:22 -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=fzyiiTKY; 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 S245754AbiFMKdQ (ORCPT + 99 others); Mon, 13 Jun 2022 06:33:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60734 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236465AbiFMKad (ORCPT ); Mon, 13 Jun 2022 06:30:33 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7458621E07; Mon, 13 Jun 2022 03:21:19 -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 D8E70B80E94; Mon, 13 Jun 2022 10:21:17 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 357F3C34114; Mon, 13 Jun 2022 10:21:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655115676; bh=//b4YhDz4deef/VaPhG43OVx0wkPvH71VetrAukn15o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=fzyiiTKYdQEHOD6Z3teUdq9KUtcCP8EZCyBaN2HYd7wAJyiRb5uxLRfokFx5T4pLX QYWvBAQCZoNiAnXdlM8rglxd28JPv2yOotMEFk2vkPN5u8fUPgGqdERgMUnb9ov/Wa GiQyPDOAkwKv8cCFsQNmNjeaxAmc65bOu7kxb+0M= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, huangwenhui , Takashi Iwai Subject: [PATCH 4.9 158/167] ALSA: hda/conexant - Fix loopback issue with CX20632 Date: Mon, 13 Jun 2022 12:10:32 +0200 Message-Id: <20220613094918.000549194@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094840.720778945@linuxfoundation.org> References: <20220613094840.720778945@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=-8.3 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: huangwenhui commit d5ea7544c32ba27c2c5826248e4ff58bd50a2518 upstream. On a machine with CX20632, Alsamixer doesn't have 'Loopback Mixing' and 'Line'. Signed-off-by: huangwenhui Cc: Link: https://lore.kernel.org/r/20220607065631.10708-1-huangwenhuia@uniontech.com Signed-off-by: Takashi Iwai Signed-off-by: Greg Kroah-Hartman --- sound/pci/hda/patch_conexant.c | 7 +++++++ 1 file changed, 7 insertions(+) --- a/sound/pci/hda/patch_conexant.c +++ b/sound/pci/hda/patch_conexant.c @@ -942,6 +942,13 @@ static int patch_conexant_auto(struct hd 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; /* Fall through */