]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
ASoC: qcom: audioreach: Add support for Speaker Protection module
authorKrzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Wed, 17 Dec 2025 09:46:03 +0000 (10:46 +0100)
committerMark Brown <broonie@kernel.org>
Wed, 17 Dec 2025 12:04:37 +0000 (12:04 +0000)
commit0db76f5b2235ab456814ee8e4e2cdf0cef09dd6b
treec5d285a1be1459702881162a4e87b0c30c94b01f
parent9a123f222e1889d020d873aa6e0799098d22cdb1
ASoC: qcom: audioreach: Add support for Speaker Protection module

Speaker Protection is capability of ADSP to adjust the gain during
playback to different speakers and their temperature.  This allows good
playback without blowing the speakers up.

Implement parsing MODULE_ID_SPEAKER_PROTECTION from Audioreach topology
and sending it as command to the ADSP.

Reviewed-by: Srinivas Kandagatla <srinivas.kandagatla@oss.qualcomm.com>
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@oss.qualcomm.com>
Link: https://patch.msgid.link/20251217094602.55117-3-krzysztof.kozlowski@oss.qualcomm.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/qcom/qdsp6/audioreach.c
sound/soc/qcom/qdsp6/audioreach.h