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

Stephan Gerhold stephan at gerhold.net
Tue Jan 14 12:21:06 CET 2020


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 at linaro.org>
Signed-off-by: Stephan Gerhold <stephan at gerhold.net>
---
 ucm2/codecs/msm8916-wcd/Speaker.conf | 1 +
 1 file changed, 1 insertion(+)

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"
 	]
-- 
2.24.1



More information about the Alsa-devel mailing list