Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp1189206rdf; Wed, 22 Nov 2023 07:51:35 -0800 (PST) X-Google-Smtp-Source: AGHT+IHOd6tq3dV/M7pu1/ritRlVh+8TQln/484kMlFNYzlYLMmtG8bsdnKoyTE+Exxmjp2oKdlX X-Received: by 2002:a05:6808:288f:b0:3b8:37c8:865c with SMTP id eu15-20020a056808288f00b003b837c8865cmr2870513oib.21.1700668295038; Wed, 22 Nov 2023 07:51:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700668295; cv=none; d=google.com; s=arc-20160816; b=dGo2c9pBjVfoqQ44VEbhWFmbArsiVo9hwtIntG/PZcnN5dAsOwHZTODRda4eLuQ/Mc AfGYZ0c9LGkMSPzkDAhiyXwb7K6SdeZrKr19e3M3pjcXv0uAvCb4wZkZNssnFvmx1utv vziWIm+hVE4ARY4L+ZyUbPsGhBqScCtFLuYYKktW8XDxRA/NYL3rIvWSyp+e025lu34Y x6sJsukP93htxdU811wy1mM0mOuCf/s4zvnEML3eEPp53KfoP7CmqP4+8I0eHEJKJUw7 +WZl/b3bg797A19ggB9LnR9Rl05VfFJHXhecvG21MvRkQ1EtTip1EEG75EO6Vx+lLbwI U/Mg== 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=HNVnVD0V0SQ/+6q/rOBjQcOMMXCl7VMKhRO09KhHBpU=; fh=nUwqbrM7JoVJe99Q992It9ipGRY1dztUepzuEY81Ek4=; b=nHyn8J23bbdoawMZuwhadz9uq790W3ysSV9U71z2owhCURZm7Y8pBVbYFkJLeaxK6o 4tUkR1QRw/5NkqyyH0+uRyK/7TSgRh/EZtKOWB04siwRNmUx0iVMIAH9ww60tHnORDIb /07RHuBs/Mq2Zh7ML41p74zXu6C6NzVorALADriReHECWazrEWjG5iDzlWOicb5OZmlX JoVwPoKNBN0nwaY57QYL5tl85LeseAkcyjNb4VWyj/VqtA8hMD7DwjHOUtAh+mXJ8lOV XaJ6FdtLDvpugC3pjB8Xb8mNsXaJXHLg6JOdOEFnhZW1/MQvCYEv794Eytg6KzWBDlEY 4t5g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BBTuAfhe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id b14-20020a631b4e000000b005859c255ce9si12908705pgm.861.2023.11.22.07.51.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Nov 2023 07:51:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=BBTuAfhe; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id CF8BC8077A51; Wed, 22 Nov 2023 07:50:46 -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 S1344364AbjKVPuD (ORCPT + 99 others); Wed, 22 Nov 2023 10:50:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42792 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235237AbjKVPto (ORCPT ); Wed, 22 Nov 2023 10:49:44 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AE301D42; Wed, 22 Nov 2023 07:41:23 -0800 (PST) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4BC11C433CD; Wed, 22 Nov 2023 15:41:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1700667683; bh=nb+vxqjeyabcUI2vBsYP+73P7f/0NpuXBP4xRLAjd7A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=BBTuAfhePpAotX7sRSqIyitfMkRt+aflL8y0NeRPu/6y8rucwCNTj5e3HzqmtmchV 5j2g1w3B5cXxxpSGUESksw5sS32gyNtJNwxbVbq2DizpTz7JiCNfN58/UXpEiYwNi3 QC51V/vyzOT0+dogzVgjEfH+9QjcAzNDe8n1QVpribmvrhyQjdZeaWYQ7d2GBNMwyT Kn0Pt3SS1Iv4O1OMeFxLfEDaYZ64qb1oJ4lIycwKFV0EeWXm3H9oWZIzpwZnpmG0e2 IHO/pvW3UcLwS1b989ZaksrlU63RrN0ZgE0eLqQKBad7csdka4mJTU/Ufz4npRWNSL 4B9cH0yUTP/jA== Received: from johan by xi.lan with local (Exim 4.96.2) (envelope-from ) id 1r5pM9-0002ln-2i; Wed, 22 Nov 2023 16:41:38 +0100 Date: Wed, 22 Nov 2023 16:41:37 +0100 From: Johan Hovold To: Greg Kroah-Hartman , Sasha Levin Cc: 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: References: <20231027105747.32450-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.3 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,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 07:50:47 -0800 (PST) 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") 805ce81826c8 ("ASoC: codecs: wsa883x: make use of new mute_unmute_on_trigger flag") As these fix a loud scary crackling noise on the Lenovo ThinkPad X13s, is it possible to get these backported at least to stable 6.6 and 6.5? Johan