Received: by 2002:a05:6a10:413:0:0:0:0 with SMTP id 19csp1481826pxp; Thu, 10 Mar 2022 06:20:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJy6itBODP8pOpar14TaHmYLsZt0mycdTIjB7PEGih/QrHX0wilEfFNcxWJgkG9kMoOdhxCp X-Received: by 2002:a17:906:314b:b0:6d6:da31:e545 with SMTP id e11-20020a170906314b00b006d6da31e545mr4610423eje.125.1646922059581; Thu, 10 Mar 2022 06:20:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1646922059; cv=none; d=google.com; s=arc-20160816; b=q0YofJCymAFnahafXgv/xT1EHZZKB9LE3Ryhi6+cQHngcb2fLHXb62uIn0i4fiEQrW mbxjmvpQThIsh+p8wEDJxUAin91OL9TtgGev2QCGJa/SSsh6/hATgoOv3YQx6f6hPRZH 1fv4bbRYuZhozQAVu2ZMLW0a4dIk4Yg8+3+ljg0u7W4U3Yzfm8kt2Fh+KoZNhnPuo6OA 0hWYjFIyjSrqlw0LNySgLTj5lX/QY925NqasSpqliQWBhexRBYpIlwp3ClV83o0TQVEG HhrdlFWRVYr/kNcEiNVmBJfWepisYXxijRgHtFfaxxyY/5/Kqd7of0bWtY7WpYfpSFCE JV7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :subject:cc:to:from:message-id:date:dkim-signature:dkim-signature; bh=p+BwOJv9TrkOBx6KAoXGGCOccfxsJ7PRbs724DyoEp8=; b=VnE1uZULLNxyLa4+qlfKwLmXhSheROWkQ4TuEUtIKUA+nmpwBHEmvS5bB5Ba6jV3VZ 7VV3nUTW/cHKPoZ7L+G8Bq5MifQocd/vfaOvYYNA8iwSu7HYaDICsI3dkMnQc2C46sDy Im4Ambx0rnp1rRJ1bxlrqTvGeuAeevPlOCHOC+YdzoCKILg/ARFMCbdVdmaDYHUTwcsI mHCRIUD+q5swzAO9gKYsKLPk61VQCjRXqcpjHxQgs5klY1/krF7v/bVcSedK1ABULKG9 4oaiywWNYLlc84HrAwkRGSqX3ngYfbJX3tE1XTx8MbtTML4b0WR7EonFNxAqRqOUNPYg 2SxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b="uwM/3fmS"; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k1-20020a170906680100b006cfd2d1105fsi3107364ejr.531.2022.03.10.06.20.36; Thu, 10 Mar 2022 06:20:59 -0800 (PST) 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=@suse.de header.s=susede2_rsa header.b="uwM/3fmS"; dkim=neutral (no key) header.i=@suse.de; 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=suse.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242408AbiCJNay (ORCPT + 99 others); Thu, 10 Mar 2022 08:30:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60462 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239631AbiCJNax (ORCPT ); Thu, 10 Mar 2022 08:30:53 -0500 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0E2701070A6 for ; Thu, 10 Mar 2022 05:29:52 -0800 (PST) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 79BA61F381; Thu, 10 Mar 2022 13:29:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1646918991; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=p+BwOJv9TrkOBx6KAoXGGCOccfxsJ7PRbs724DyoEp8=; b=uwM/3fmSXvKY+Y9VgLnmTBZrCkcyUV0lyDO7Uvn35myQ+ZnYD+0j2A4SQDOx6YYB8l1ww6 pzIDPxcA9fK39RKuNNV+Y02rhQwLnUC59H+zsvarGs5HAYBIOe/VGBeVXpOJUxBTgoKUXf XOD09JVtJ98hF2G475XFORRUCVJIc4s= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1646918991; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=p+BwOJv9TrkOBx6KAoXGGCOccfxsJ7PRbs724DyoEp8=; b=k1pHIieTXWKiyI8BKoqkk+7qvSB+TsV7IO8Rmu2PjRSmNXRoHuEgH96OzGQzBDy609VO87 0bWW7t5qSrJXt5Bg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 0477BA3B88; Thu, 10 Mar 2022 13:29:50 +0000 (UTC) Date: Thu, 10 Mar 2022 14:29:50 +0100 Message-ID: From: Takashi Iwai To: huangwenhui Cc: perex@perex.cz, tiwai@suse.com, jeremy.szu@canonical.com, hui.wang@canonical.com, wse@tuxedocomputers.com, cam@neo-zeon.de, kailang@realtek.com, tanureal@opensource.cirrus.com, sami@loone.fi, alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] ALSA: hda/realtek - Fix headset mic problem for a HP machine with alc671 In-Reply-To: <20220310130301.22827-1-huangwenhuia@uniontech.com> References: <20220310130301.22827-1-huangwenhuia@uniontech.com> User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?UTF-8?B?R29qxY0=?=) APEL/10.8 Emacs/25.3 (x86_64-suse-linux-gnu) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,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 On Thu, 10 Mar 2022 14:03:01 +0100, huangwenhui wrote: > > On a HP 288 Pro G8, the front Mic could not be detected. > > Signed-off-by: huangwenhui Thanks for the patch. Most of the changes look OK, but one thing I still don't get: > + case HDA_FIXUP_ACT_INIT: > + alc_write_coef_idx(codec, 0x19, 0xa054); > + msleep(80); > + snd_hda_codec_write(codec, hp_pin, 0, > + AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE); Why this unconditional unmute is required for fixing the mic problem? Takashi