diff options
author | Srinivas Kandagatla <srinivas.kandagatla@linaro.org> | 2023-12-04 13:47:36 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-12-04 17:20:26 +0100 |
commit | 716d4e5373e9d1ae993485ab2e3b893bf7104fb1 (patch) | |
tree | f4b8950524ef6762dc2c42f707ccc33423068b64 /samples/auxdisplay | |
parent | ASoC: ops: add correct range check for limiting volume (diff) | |
download | linux-716d4e5373e9d1ae993485ab2e3b893bf7104fb1.tar.xz linux-716d4e5373e9d1ae993485ab2e3b893bf7104fb1.zip |
ASoC: qcom: sc8280xp: Limit speaker digital volumes
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@linaro.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Tested-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20231204124736.132185-3-srinivas.kandagatla@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'samples/auxdisplay')
0 files changed, 0 insertions, 0 deletions