Re: [PATCH 2/2] ASoC: qcom: sc8280xp: Limit speaker digital volumes

From: Johan Hovold
Date: Mon Dec 04 2023 - 08:53:26 EST


On Mon, Dec 04, 2023 at 12:47:36PM +0000, srinivas.kandagatla@xxxxxxxxxx wrote:
> From: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>
>
> 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.
>
> Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@xxxxxxxxxx>

Works as intended:

Reviewed-by: Johan Hovold <johan+linaro@xxxxxxxxxx>
Tested-by: Johan Hovold <johan+linaro@xxxxxxxxxx>

Given the reason for why you are adding this, it seems you should have
added:

Cc: stable@xxxxxxxxxxxxxxx # 6.5

as well.

Johan