[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZXbDY1iA_DQLIzqq@hovoldconsulting.com>
Date: Mon, 11 Dec 2023 09:08:03 +0100
From: Johan Hovold <johan@...nel.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Sasha Levin <sashal@...nel.org>, stable@...r.kernel.org
Cc: broonie@...nel.org, alsa-devel@...a-project.org, perex@...ex.cz,
tiwai@...e.com, linux-sound@...r.kernel.org,
linux-kernel@...r.kernel.org, johan+linaro@...nel.org,
srinivas.kandagatla@...aro.org
Subject: Re: [PATCH 0/2] ASoC: qcom: Limit Digital gains on speaker
Hi Greg and Sasha,
On Mon, Dec 04, 2023 at 12:47:34PM +0000, srinivas.kandagatla@...aro.org wrote:
> From: Srinivas Kandagatla <srinivas.kandagatla@...aro.org>
>
> 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")
> sound/soc/qcom/sc8280xp.c | 17 +++++++++++++++++
> sound/soc/soc-ops.c | 2 +-
> 2 files changed, 18 insertions(+), 1 deletion(-)
Johan
Powered by blists - more mailing lists