[v2] ucm: Dell WD15 set lineout controls
diff mbox series

Message ID 20190614011530.33465-1-cujomalainey@chromium.org
State New
Headers show
Series
  • [v2] ucm: Dell WD15 set lineout controls
Related show

Commit Message

Curtis Malainey June 14, 2019, 1:15 a.m. UTC
The lineout playback switch should be enabled and disabled when enabling
and disabling the device.

This commit needs to be tested by dell.

Signed-off-by: Curtis Malainey <cujomalainey@chromium.org>
Cc: Dylan Reid <dgreid@chromium.org>
Cc: Crag Wang <crag.wang@dell.com>
---
 src/conf/ucm/Dell-WD15-Dock/HiFi.conf | 8 ++++++++
 1 file changed, 8 insertions(+)

Patch
diff mbox series

diff --git a/src/conf/ucm/Dell-WD15-Dock/HiFi.conf b/src/conf/ucm/Dell-WD15-Dock/HiFi.conf
index 1b6bd212..8e8c0140 100644
--- a/src/conf/ucm/Dell-WD15-Dock/HiFi.conf
+++ b/src/conf/ucm/Dell-WD15-Dock/HiFi.conf
@@ -14,6 +14,14 @@  SectionDevice."LineOut" {
 		PlaybackChannels "2"
 		PlaybackPCM "hw:Dock,1"
 	}
+	EnableSequence [
+		cdev "hw:Dock"
+		cset "name='Line Playback Switch' on"
+	]
+	DisableSequence [
+		cdev "hw:Dock"
+		cset "name='Line Playback Switch' off"
+	]
 }
 
 SectionDevice."Mic" {