Received: by 2002:a05:6512:2355:0:0:0:0 with SMTP id p21csp211338lfu; Wed, 30 Mar 2022 21:09:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzynAE/iYoH4Ccl9tXQzu1SXPrH1NonqJcpFtU8mCPQ0FS/HFZPRdPqstCqPzDCmd+c8v+b X-Received: by 2002:a17:902:b704:b0:156:624:934b with SMTP id d4-20020a170902b70400b001560624934bmr3505133pls.116.1648699771087; Wed, 30 Mar 2022 21:09:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1648699771; cv=none; d=google.com; s=arc-20160816; b=MesCPHYY4w+Xv5ITJt52GQQwyphJXEERHtS8n4MNJcXdzdJ+UBAD0NHfuM7nlGteGV iV1R55KNWdLx7Vlmbyjbeb9TVhH+s+f1parpnBXPihE+6g1pOUrI5S2UNTa8kzJoMr+l tGGe3JNYZlFxzW2v9d37BXzqPDj9uDAZXTbd090alW3hTT22xGFQc3t9Ude1dtZhgifK WAODFeGFkvPX6ArEneyLY9cPt2xWWfmb8A1EIZun5/brmjACjcrYHV+qsLXwiz3qFmYU Dwnk+euv0ekcbSxypUZ2POgHV9UPIsW3WN+Nx/zdVgVr1+jYyjSKdwd/i3zIRpDDqjDQ 5JwA== 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=/QNvaPOjH0w65NzenY+F0uSGoHt4n2nfiu+E5ad0lj4=; b=bv447cSuBIzoosjF9xptZpvPv/xTivv3P5d+R6jzbrECG2GZkoJOwcpRHqiboszMoK CrkaIdeC0iERtA56T6opkDRG6tuqT4XC0JZdLxKuiwvE3RByiG1J940JOeG+Ykmc4jSl 0aB/01Phq+i8cp9vDLtvS73X80Or+5PByWgNSmZYvdvcR7o2ZeXjATFaRqokF7H+RKOK uc0A1v53OQWn26sz1ZTTxdURB86r0+5dGXnBdLtwvsUteiZYJUDvdLe5/nieBguFXrRG yQPuqIG6+Cc14X2rO+npIUxKSFMHlPixHweDnoCNu3fufDfPZrCccoKuno93mlsisatM Q65A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.de header.s=susede2_rsa header.b=KAEOVn9G; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=W82zOpjz; 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=suse.de Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id nm1-20020a17090b19c100b001c7532e6d3fsi1990835pjb.72.2022.03.30.21.09.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Mar 2022 21:09:31 -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=@suse.de header.s=susede2_rsa header.b=KAEOVn9G; dkim=neutral (no key) header.i=@suse.de header.s=susede2_ed25519 header.b=W82zOpjz; 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=suse.de Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 277D417ECD8; Wed, 30 Mar 2022 20:16:44 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244299AbiC3IUX (ORCPT + 99 others); Wed, 30 Mar 2022 04:20:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49478 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244257AbiC3ITx (ORCPT ); Wed, 30 Mar 2022 04:19:53 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.220.29]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5E1202F024 for ; Wed, 30 Mar 2022 01:18:01 -0700 (PDT) Received: from relay2.suse.de (relay2.suse.de [149.44.160.134]) by smtp-out2.suse.de (Postfix) with ESMTP id 100A61F7AD; Wed, 30 Mar 2022 08:18:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1648628280; 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=/QNvaPOjH0w65NzenY+F0uSGoHt4n2nfiu+E5ad0lj4=; b=KAEOVn9GTVtqLByBcuNrce4yh4CgyY63d21mWqqh31uj3RiYMUT0b3QuClbUIYsmTTVmw+ t8yiXPwNCXRXcPmZtd58V/32vk/mnf6UkQsSbIJUBpKa3fAJfnqyGzRHI62Pmw+tq3/leD Csv9tLs2bLaorO+I/BjfdCmCjnw60lo= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1648628280; 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=/QNvaPOjH0w65NzenY+F0uSGoHt4n2nfiu+E5ad0lj4=; b=W82zOpjzpo7MHfhww59XLeWVgqWa4dVgU/S+VrEKxcWaCx3O+XQ0pxjOfV1mQr1/d+x60Z r7aa5+GluzEMdFAg== Received: from alsa1.suse.de (alsa1.suse.de [10.160.4.42]) by relay2.suse.de (Postfix) with ESMTP id 61477A3B8A; Wed, 30 Mar 2022 08:17:59 +0000 (UTC) Date: Wed, 30 Mar 2022 10:17:59 +0200 Message-ID: From: Takashi Iwai To: Kai-Heng Feng Cc: tiwai@suse.com, kernel test robot , Dan Carpenter , Jaroslav Kysela , Jeremy Szu , Werner Sembach , Hui Wang , Lucas Tanure , Cameron Berkenpas , Kailang Yang , Sami Loone , alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] ALSA: hda/realtek: Fix audio regression on Mi Notebook Pro 2020 In-Reply-To: <20220330061335.1015533-1-kai.heng.feng@canonical.com> References: <20220330061335.1015533-1-kai.heng.feng@canonical.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=-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 On Wed, 30 Mar 2022 08:13:33 +0200, Kai-Heng Feng wrote: > > Commit 5aec98913095 ("ALSA: hda/realtek - ALC236 headset MIC recording > issue") is to solve recording issue met on AL236, by matching codec > variant ALC269_TYPE_ALC257 and ALC269_TYPE_ALC256. > > This match can be too broad and Mi Notebook Pro 2020 is broken by the > patch. > > Instead, use codec ID to be narrow down the scope, in order to make > ALC256 unaffected. > > Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=215484 > Fixes: 5aec98913095 ("ALSA: hda/realtek - ALC236 headset MIC recording issue") > Reported-by: kernel test robot > Reported-by: Dan Carpenter > Signed-off-by: Kai-Heng Feng > --- > v2: > Fix wrong comparison, || -> && Thanks, applied now. Takashi