diff mbox series

[alsa-ucm-conf,3/7] codecs/msm8916-wcd: Speaker: Reset volume on disable

Message ID 20200114112110.51983-4-stephan@gerhold.net
State New
Headers show
Series DB410c/msm8916-wcd UCM fixes/additions | expand

Commit Message

Stephan Gerhold Jan. 14, 2020, 11:21 a.m. UTC
For Headphones we reset the Digital Volume back to 0 when disabling
the device; do the same for the Speaker.

Cc: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Signed-off-by: Stephan Gerhold <stephan@gerhold.net>
---
 ucm2/codecs/msm8916-wcd/Speaker.conf | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/ucm2/codecs/msm8916-wcd/Speaker.conf b/ucm2/codecs/msm8916-wcd/Speaker.conf
index 2b1dd8a..1e0dfa6 100644
--- a/ucm2/codecs/msm8916-wcd/Speaker.conf
+++ b/ucm2/codecs/msm8916-wcd/Speaker.conf
@@ -14,6 +14,7 @@  SectionDevice."Speaker" {
 	]
 
 	DisableSequence [
+		cset "name='RX3 Digital Volume' 0"
 		cset "name='SPK DAC Switch' 0"
 		cset "name='RX3 MIX1 INP1' ZERO"
 	]