From cdf8a389dd8c0ab53bf43713fbed5ca30dcfed9d Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Sat, 2 Nov 2019 09:43:00 +0100 Subject: [PATCH] sof-hda-dsp: fix the volume/switch values in HiFi Signed-off-by: Jaroslav Kysela --- ucm/sof-hda-dsp/HiFi.conf | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/ucm/sof-hda-dsp/HiFi.conf b/ucm/sof-hda-dsp/HiFi.conf index 4ca447d..244bff6 100644 --- a/ucm/sof-hda-dsp/HiFi.conf +++ b/ucm/sof-hda-dsp/HiFi.conf @@ -27,8 +27,8 @@ SectionDevice."Headphone" { Value { PlaybackPCM "hw:sofhdadsp,0" - PlaybackVolume "Headphone" - PlaybackSwitch "Headphone Playback Switch" + PlaybackVolume "name='Headphone'" + PlaybackSwitch "name='Headphone Playback Switch'" PlaybackChannels "2" JackName "sof-hda-dsp Headphone" JackType "gpio" @@ -52,8 +52,8 @@ SectionDevice."Speaker" { Value { PlaybackPCM "hw:sofhdadsp,0" - PlaybackVolume "Speaker" - PlaybackSwitch "Speaker Playback Switch" + PlaybackVolume "name='Speaker'" + PlaybackSwitch "name='Speaker Playback Switch'" JackHWMute "Headphone" PlaybackChannels "2" } @@ -76,8 +76,8 @@ SectionDevice."HeadsetMic" { Value { CapturePCM "hw:sofhdadsp,0" - CaptureVolume "Capture" - CaptureSwitch "Capture Switch" + CaptureVolume "name='Capture'" + CaptureSwitch "name='Capture Switch'" CaptureChannels "2" JackControl "Mic Jack" } @@ -100,8 +100,8 @@ SectionDevice."DigitalMic" { Value { CapturePCM "hw:sofhdadsp,6" - CaptureVolume "Dmic0 Capture Volume" - CaptureSwitch "Dmic0 Capture Switch" + CaptureVolume "name='Dmic0 Capture Volume'" + CaptureSwitch "name='Dmic0 Capture Switch'" CaptureChannels "2" } } -- 2.47.1