Received: by 2002:a05:7412:e79e:b0:f3:1519:9f41 with SMTP id o30csp35950rdd; Wed, 22 Nov 2023 08:47:33 -0800 (PST) X-Google-Smtp-Source: AGHT+IGwblHAPVQawqKX3UmXmmE2DQfCIvNswJ2r919uQLTlYz5E1fOKQDMWmC2jDI/y3drsqSMN X-Received: by 2002:a17:90b:384c:b0:280:3cc4:f052 with SMTP id nl12-20020a17090b384c00b002803cc4f052mr3236430pjb.17.1700671652005; Wed, 22 Nov 2023 08:47:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700671651; cv=none; d=google.com; s=arc-20160816; b=CIV1wHue/ewsNWt6y146FK4LX00mwJhD8MUVGnnfT3cpWoscSFVxBEgAcV0HLs91GD 5VQXvoAueeHrBDFVqn9fIgW3Q8OBdtxYelj8eUlXmvWOzandp6pzEV+8qd3A3zB9rneW 3pz74r9CAEVx3ax7ynI0keZmKfAoyeML7LUL+1By2w6/ckGQsap828R2s+D01vgsKhxT eHCB+zC2dEC3Op3qwI5OIJaC7qMf4lpbPUzvChQnZDFcXpm/Z8lG0TZ1tUoerdgLVVJH Z1LEVoKLq/wPJMdf4VpsfQhXLM/UaBmzfQa5Ch4Ch7jBC4uDmRQ5kfoGvg2K9LeAnQ9P 4CDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=grTI2MiFCkrKR1Zas44K3CqwbXQchQ3yJaU9XIr368A=; fh=sSpjDs0YXTRYN8oo0z/SGHVD5wJXnVXjycrx800Ib90=; b=pOh1+izGRPsF39irsXzp1TciAGec1cO9mrGxznV5Y1bP7A0iN3a/zPLc4G0HJ9A6aU wu1JJ+TGqsM6eGn7vfPRNu4ifNB+7nt26uX8CMCN84Vuc/f8vEs3L9Z17cgQTQmJQ5mD AQ7NBerf0so0IYxsal7x5wWNy74QKITqQBW8L4BbzpFygENFWzSFc0bMKtPVJ9m/dGCF PTO7xQQ9gmOwEbLr+giwtSM9trfp3bHWWfVYFZAeoeE7KWIXRNpCrcyWQikKUu2oVbEN XVvNicTIHdJxNtyIdl4twhgxbInpfjljGZtO49OvFCBEOXl4Iv8QqvBsmd1MKbzR57vd agSg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KkQr7SMN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id fu15-20020a17090ad18f00b0028514b41c88si1742236pjb.70.2023.11.22.08.47.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 08:47:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KkQr7SMN; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 1FE988082874; Wed, 22 Nov 2023 08:47:04 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229806AbjKVQq5 (ORCPT + 99 others); Wed, 22 Nov 2023 11:46:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39256 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229821AbjKVQqz (ORCPT ); Wed, 22 Nov 2023 11:46:55 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4ED2B1B5; Wed, 22 Nov 2023 08:46:52 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 75B59C433C8; Wed, 22 Nov 2023 16:46:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1700671611; bh=Ixoj1ZvTEGh811u0GLno9LmWU1DPcMeaYdUrYC39smM=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KkQr7SMNtfyyFwIKjw6EOSmHJbvc0I2sZal2yPuXSVOCs9VmQTOaz/e82zJ4vBzPD voPmwsbHXAH2IMnbHy72vG+BHz596cjPYEadMhXNKEU9+b2ulS5yaA8FG5HMFzNVdJ KaUGbuRjwUjGcMjJnI0k4D3OCh4JG7Fpu55gefeg= Date: Wed, 22 Nov 2023 16:46:49 +0000 From: Greg Kroah-Hartman To: Johan Hovold Cc: Sasha Levin , broonie@kernel.org, perex@perex.cz, tiwai@suse.com, lgirdwood@gmail.com, linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org, Srinivas Kandagatla , stable@vger.kernel.org Subject: Re: [RFC PATCH 0/2] ASoC: soc-dai: add flag to mute and unmute stream during trigger. Message-ID: <2023112230-emphases-stardom-3d3a@gregkh> References: <20231027105747.32450-1-srinivas.kandagatla@linaro.org> <2023112225-crop-uncle-9097@gregkh> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <2023112225-crop-uncle-9097@gregkh> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Wed, 22 Nov 2023 08:47:04 -0800 (PST) On Wed, Nov 22, 2023 at 04:35:17PM +0000, Greg Kroah-Hartman wrote: > On Wed, Nov 22, 2023 at 04:41:37PM +0100, Johan Hovold wrote: > > Hi Greg and Sasha, > > > > On Fri, Oct 27, 2023 at 01:52:11PM +0200, Johan Hovold wrote: > > > On Fri, Oct 27, 2023 at 11:57:45AM +0100, Srinivas Kandagatla wrote: > > > > Click/Pop Noise was a long pending issue with WSA Codecs which are prone > > > > to accumlate DC when ports are active but without any data streams. > > > > There are multiple places in the current setup, where this could happen > > > > in both startup as well as shutdown path. > > > > > > > > This patchset adds a new flag mute_unmute_on_trigger to dai_ops to let > > > > generic code do the mute/unmute on trigger. > > > > > > > > This patches help fix those issues by making sure the PA is Muted/Unmuted > > > > inline with the stream start/stop events. > > > > > > > > Srinivas Kandagatla (2): > > > > ASoC: soc-dai: add flag to mute and unmute stream during trigger > > > > ASoC: codecs: wsa883x: make use of new mute_unmute_on_trigger flag > > > > > > I've verified that this fixes the pop sounds when starting and stopping > > > a stream on the X13s, even if the click sound when killing pulseaudio > > > (e.g. on reboot) is still there (as with the previous fixes). > > > > > > Tested-by: Johan Hovold > > > > > > If these are accepted, can we get them backported to 6.5 as well? > > > > These fixes are now in 6.7-rc1 as > > > > f0220575e65a ("ASoC: soc-dai: add flag to mute and unmute stream during trigger") > > This doesn't backport cleanly, can you provide a working backport? > > > 805ce81826c8 ("ASoC: codecs: wsa883x: make use of new mute_unmute_on_trigger flag") > > Now queued up, thanks. And that broke the build, I'll go drop that too :(