linux-stable/sound/soc/qcom
Srinivas Kandagatla 716d4e5373
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>
2023-12-04 16:20:26 +00:00
..
qdsp6 ASoC: qcom: q6apm-lpass-dais: pass max number of channels to Audioreach 2023-10-25 17:21:40 +01:00
apq8016_sbc.c ASoC: qcom: reduce number of binding headers includes 2023-10-09 13:14:19 +01:00
apq8096.c ASoC: Explicitly include correct DT includes 2023-10-09 13:13:56 +01:00
common.c ASoC: qcom: reduce number of binding headers includes 2023-10-09 13:14:19 +01:00
common.h ASoC: qcom: Fix building APQ8016 machine driver without SOUNDWIRE 2023-01-09 13:04:14 +00:00
Kconfig ASoC: qcom: Fix building APQ8016 machine driver without SOUNDWIRE 2023-01-09 13:04:14 +00:00
lpass-apq8016.c ASoC: qcom: lpass: Make asoc_qcom_lpass_cpu_platform_remove() return void 2023-10-23 13:29:47 +01:00
lpass-cdc-dma.c ASoC: DT matching and header cleanups 2023-10-09 23:14:18 +01:00
lpass-cpu.c ASoC: qcom: lpass: Make asoc_qcom_lpass_cpu_platform_remove() return void 2023-10-23 13:29:47 +01:00
lpass-hdmi.c ASoC: qcom: lpass-hdmi: remove useless return 2021-03-10 13:01:49 +00:00
lpass-hdmi.h ASoC: qcom: Add support for lpass hdmi driver 2020-10-08 20:27:34 +01:00
lpass-ipq806x.c ASoC: qcom: lpass: Make asoc_qcom_lpass_cpu_platform_remove() return void 2023-10-23 13:29:47 +01:00
lpass-lpaif-reg.h ASoC: qcom: Add register definition for codec rddma and wrdma 2022-02-24 20:21:42 +00:00
lpass-platform.c ASoC: DT matching and header cleanups 2023-10-09 23:14:18 +01:00
lpass-sc7180.c ASoC: qcom: lpass: Make asoc_qcom_lpass_cpu_platform_remove() return void 2023-10-23 13:29:47 +01:00
lpass-sc7280.c ASoC: qcom: lpass: Make asoc_qcom_lpass_cpu_platform_remove() return void 2023-10-23 13:29:47 +01:00
lpass.h ASoC: qcom: lpass: Make asoc_qcom_lpass_cpu_platform_remove() return void 2023-10-23 13:29:47 +01:00
Makefile ASoC: qcom: Fix building APQ8016 machine driver without SOUNDWIRE 2023-01-09 13:04:14 +00:00
sc7180.c ASoC: qcom: sc7180: Add support for qdsp6 baked sound 2023-10-25 17:21:38 +01:00
sc7280.c ASoC: DT matching and header cleanups 2023-10-09 23:14:18 +01:00
sc8280xp.c ASoC: qcom: sc8280xp: Limit speaker digital volumes 2023-12-04 16:20:26 +00:00
sdm845.c ASoC: DT matching and header cleanups 2023-10-09 23:14:18 +01:00
sdw.c ASoC: qcom: reduce number of binding headers includes 2023-10-09 13:14:19 +01:00
sdw.h ASoC: qcom: Fix building APQ8016 machine driver without SOUNDWIRE 2023-01-09 13:04:14 +00:00
sm8250.c ASoC: DT matching and header cleanups 2023-10-09 23:14:18 +01:00
storm.c ASoC: qcom: convert not to use asoc_xxx() 2023-09-25 14:16:25 +02:00