diff options
author | Cheng-Yi Chiang <cychiang@chromium.org> | 2017-05-26 04:20:27 +0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-06-04 23:44:25 -0700 |
commit | 09252a1bf9b2ee54cf6d9ebb48b2bffce8ad153e (patch) | |
tree | 149e7572bd822954e0bba7b8cdff0a6fc09f9c86 | |
parent | 2e14c232763ac89fd9d2fa5e9b3fdcf6581b2db8 (diff) | |
download | adhd-09252a1bf9b2ee54cf6d9ebb48b2bffce8ad153e.tar.gz |
daisy: Turn off speaker switch when headphone is enabled
Speaker should be switched off when headphone is enabled.
Otherwise, when CRAS starts with headphone plugged, and headphone is
enumerated as the first node, speaker switch will still remain on, and
cause sound to be played to speaker and headphone at the same time.
BUG=chromium:726175
TEST=Boot with headphone plugged. Check audio does not play to speaker.
Change-Id: Ifcae91342ae1a227a36c61f285b8fee36ffc7e88
Signed-off-by: Cheng-Yi Chiang <cychiang@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/516325
Reviewed-by: Hsinyu Chao <hychao@chromium.org>
Reviewed-by: Dylan Reid <dgreid@chromium.org>
-rw-r--r-- | ucm-config/daisy/DAISY-I2S/HiFi.conf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ucm-config/daisy/DAISY-I2S/HiFi.conf b/ucm-config/daisy/DAISY-I2S/HiFi.conf index 6539d874..54d08fcd 100644 --- a/ucm-config/daisy/DAISY-I2S/HiFi.conf +++ b/ucm-config/daisy/DAISY-I2S/HiFi.conf @@ -102,6 +102,7 @@ SectionDevice."Headphone".0 { EnableSequence [ cdev "hw:DAISYI2S" cset "name='EQ1 Switch' off" + cset "name='Speaker Switch' off" cset "name='Left Headphone Mixer Left DAC1 Switch' on" cset "name='Right Headphone Mixer Right DAC1 Switch' on" ] |