Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp438591iog; Mon, 13 Jun 2022 06:02:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkrgrHLvMawQlVbIwPpbdM7/rWgJiTycFcr/CccsrKDQZqJu9MdxGkvC+ZfmIpC05GhvyT X-Received: by 2002:a17:906:51cf:b0:712:3ba:a0bc with SMTP id v15-20020a17090651cf00b0071203baa0bcmr19867961ejk.199.1655125277487; Mon, 13 Jun 2022 06:01:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125277; cv=none; d=google.com; s=arc-20160816; b=EM61i3Wgpi3/eLqTiejF5PSHIrwx5OoceWBUmYnwFoXy2fUA7wvZCc7L9g+zUzk1pF 65FARadbUUcOJ2THHm7Txeo6ptouQQLJqNqulNHwjB6YxB3OWA8POd/oHoK3Ud2GSER0 kNwqaXYuTu8I8YkEDVNU9CBAKQwIVO/Oy9gpT8WpFYOb++Hp3CiQ/BiYa/GPgxhAEDF4 kZeQ/1gnCvfdW3MIO6q+eu/5ge/y9nC6wumtCvAm3PLeZt9tUfpeVouS//mrvTtHbvn+ UkviPhs4qp7pG0VTaSXSP/bYqBXZItv/iJ5m4Oc6VBgeaPWOeOyzk/4yPx+tOn47GpEr 7gnw== 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=TTsQocJHSAa3mCMMUaHeJGGfDW0ltL7X2LnMdmxhgPE=; b=RUTXLoMYLRxMV4RMi6Ilau1UA1gtGY6XPzChJGDMywIZUE0E4nCumYBh7U2oLe1pZP EkVGt2Giv/C4J88sDIAlzBUfk+aTSh7yiPcVN7rKy5muZdoGsgVzCM2yZJR626fY3cgS +hTRS5YWjpq49EMxeJS0+KoRQ4pfcK0uedtKkSvNgY7DMWGdA+EufXONFGEi/xV42Psc LLFFUUKbVyPL9lLmVGhPcOfFewidLmWABcSMHHIAw/I8mKIjYbo782rLukA1B+OUWjbg OJaFQWz1oIw3xNqzXe9jtbLkPZBDl/DdoEX1miEQzPuzNkgyokLtmMYVgGJ33c53z2Vf lXCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=zbjD3MVL; 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 rh27-20020a17090720fb00b00711ad88fde8si6719844ejb.369.2022.06.13.06.00.49; Mon, 13 Jun 2022 06:01:17 -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=zbjD3MVL; 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 S1357475AbiFMLyT (ORCPT + 99 others); Mon, 13 Jun 2022 07:54:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356763AbiFMLtl (ORCPT ); Mon, 13 Jun 2022 07:49:41 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F28FA4D6AC; Mon, 13 Jun 2022 03:53:39 -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 dfw.source.kernel.org (Postfix) with ESMTPS id 188D061347; Mon, 13 Jun 2022 10:53:39 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2678CC3411C; Mon, 13 Jun 2022 10:53:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655117618; bh=5tuEr5NyfeY7NcgrAX3mYUTvGOLl0/lS8T+UMvcnTqo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=zbjD3MVLvaHZN++zddKdAODuE538tjCquiNAY+IsZhjvFH/0WQIXYjn0YGOTlg/DA fV+vCkItYhG8gZ1vrZQ8bOgTVxRhJRJM5kKlV+wnsWkCipDM/vyv2Ue1Ek5J5okt7M wMuaAYNrsFvffG7CCvLwnY5TERWIsYSnkjf3/6Qs= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, huangwenhui , Takashi Iwai Subject: [PATCH 5.4 400/411] ALSA: hda/conexant - Fix loopback issue with CX20632 Date: Mon, 13 Jun 2022 12:11:13 +0200 Message-Id: <20220613094940.820869143@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094928.482772422@linuxfoundation.org> References: <20220613094928.482772422@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 @@ -1012,6 +1012,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 */