ASoC: qcom: audioreach: explicitly enable speaker protection modules
Subsystems (4)
PATCH 1/1 ASoC: qcom: audioreach: explicitly enable speaker protection modules
Speaker protection and VI feedback modules are disabled by default. Explicitly enable them when configuring speaker protection.
Signed-off-by Ravi Hothi <[email protected]>
--- sound/soc/qcom/qdsp6/audioreach.c | 5 +++++ 1 file changed, 5 insertions(+)
sound/soc/qcom/qdsp6/audioreach.c +5 -0
@@ -1365,9 +1365,14 @@ int audioreach_set_media_format(struct q6apm_graph *graph,case MODULE_ID_SPEAKER_PROTECTION : rc =audioreach_speaker_protection (graph, module,PARAM_ID_SP_OP_MODE_NORMAL ); +if (!rc) + rc =audioreach_module_enable (graph, module, true); +break ;case MODULE_ID_SPEAKER_PROTECTION_VI : rc =audioreach_speaker_protection_vi (graph, module, cfg); +if (!rc) + rc =audioreach_module_enable (graph, module, true);break ;default :
Signature · 1 line
2.34.1
Quoted 4 lines · Ravi Hothi
Speaker protection and VI feedback modules are disabled by default. Explicitly enable them when configuring speaker protection.
Signed-off-by Ravi Hothi <[email protected]>
Fixes?
Quoted 4 lines
--- sound/soc/qcom/qdsp6/audioreach.c | 5 +++++ 1 file changed, 5 insertions(+)
Signature · 2 lines
With best wishes Dmitry
Quoted 7 lines · Dmitry Baryshkov
Quoted 4 lines · Ravi Hothi
Speaker protection and VI feedback modules are disabled by default. Explicitly enable them when configuring speaker protection.
Signed-off-by Ravi Hothi <[email protected]>Fixes?
ACK, Will add the fixes tag.
Best Regards,
Ravi Hothi
Quoted 6 lines
Quoted 5 lines
--- sound/soc/qcom/qdsp6/audioreach.c | 5 +++++ 1 file changed, 5 insertions(+)