From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from alsa0.perex.cz (alsa0.perex.cz [77.48.224.243]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 27B9FC4167B for ; Mon, 11 Dec 2023 12:41:46 +0000 (UTC) Received: from alsa1.perex.cz (alsa1.perex.cz [207.180.221.201]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by alsa0.perex.cz (Postfix) with ESMTPS id 987B4836; Mon, 11 Dec 2023 13:41:33 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa0.perex.cz 987B4836 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=alsa-project.org; s=default; t=1702298503; bh=ROmUd+olsD+OTnQvuY7AsKIIZPO+4MWpYfD8N5iPbxQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=L6djf/SMeVSZB0V+eqLWBQwh6ICzA3em7mrNN+miXc2nxATTyXrxA9/2avOov/f3D XfblWSGPRwyNAXKDFx6tF7QYYNXgdQAodvZgbmOaPpGrYmoLoI5L0kLem6BMyDzahi RgWnvJZeuMqeYLUsPEno4igwJ543/otpVsmjpFjg= Received: by alsa1.perex.cz (Postfix, from userid 50401) id 88089F80580; Mon, 11 Dec 2023 13:41:11 +0100 (CET) Received: from mailman-core.alsa-project.org (mailman-core.alsa-project.org [10.254.200.10]) by alsa1.perex.cz (Postfix) with ESMTP id EEEE5F80589; Mon, 11 Dec 2023 13:41:10 +0100 (CET) Received: by alsa1.perex.cz (Postfix, from userid 50401) id 206C2F80166; Mon, 11 Dec 2023 13:41:07 +0100 (CET) Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 1ED62F800D2 for ; Mon, 11 Dec 2023 13:40:59 +0100 (CET) DKIM-Filter: OpenDKIM Filter v2.11.0 alsa1.perex.cz 1ED62F800D2 Authentication-Results: alsa1.perex.cz; dkim=pass (1024-bit key, unprotected) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.a=rsa-sha256 header.s=korg header.b=wBqCxXOY Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by sin.source.kernel.org (Postfix) with ESMTP id A04DBCE11BD; Mon, 11 Dec 2023 12:40:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5DEAFC433C9; Mon, 11 Dec 2023 12:40:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1702298454; bh=ROmUd+olsD+OTnQvuY7AsKIIZPO+4MWpYfD8N5iPbxQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=wBqCxXOYNpBulZcmJMR1DC0+u8gOZ8zF8PsHHkH+vO6zic/ijVRgmtlfPmn8KXhS3 UExzqkGl4Xj9j8055spMkESNoP8FtY0PaUXebUeu6PrvSgqg7dhiNx7G0J7bH5s+lI XdEgB8Gct0rZUfwGewFcwHQQZ3Kh3X1Z7u/Ja7Qs= Date: Mon, 11 Dec 2023 13:40:52 +0100 From: Greg Kroah-Hartman To: Johan Hovold Cc: Sasha Levin , stable@vger.kernel.org, broonie@kernel.org, alsa-devel@alsa-project.org, perex@perex.cz, tiwai@suse.com, linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org, johan+linaro@kernel.org, srinivas.kandagatla@linaro.org Subject: Re: [PATCH 0/2] ASoC: qcom: Limit Digital gains on speaker Message-ID: <2023121146-hunger-crane-7dee@gregkh> References: <20231204124736.132185-1-srinivas.kandagatla@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Message-ID-Hash: XIYT35TVJEZWGL27PGVSDGN4ST4DINCS X-Message-ID-Hash: XIYT35TVJEZWGL27PGVSDGN4ST4DINCS X-MailFrom: gregkh@linuxfoundation.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-alsa-devel.alsa-project.org-0; header-match-alsa-devel.alsa-project.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.9 Precedence: list List-Id: "Alsa-devel mailing list for ALSA developers - http://www.alsa-project.org" Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: On Mon, Dec 11, 2023 at 09:08:03AM +0100, Johan Hovold wrote: > Hi Greg and Sasha, > > On Mon, Dec 04, 2023 at 12:47:34PM +0000, srinivas.kandagatla@linaro.org wrote: > > From: Srinivas Kandagatla > > > > Limit the speaker digital gains to 0dB so that the users will not damage them. > > Currently there is a limit in UCM, but this does not stop the user form > > changing the digital gains from command line. So limit this in driver > > which makes the speakers more safer without active speaker protection in > > place. > > > > Apart from this there is also a range check fix in snd_soc_limit_volume > > to allow setting this limit correctly. > > > > Tested on Lenovo X13s. > > > > Srinivas Kandagatla (2): > > ASoC: ops: add correct range check for limiting volume > > ASoC: qcom: sc8280xp: Limit speaker digital volumes > > These were unfortunately not marked for stable, but could you pick them > up for 6.6? > > The upstream commits are: > > fb9ad2448508 ("ASoC: ops: add correct range check for limiting volume") > 716d4e5373e9 ("ASoC: qcom: sc8280xp: Limit speaker digital volumes") Now queued up, thanks. greg k-h