From: Jaroslav Kysela Date: Sat, 2 Nov 2019 08:43:00 +0000 (+0100) Subject: sof-hda-dsp: fix the volume/switch values in HiFi X-Git-Tag: v1.2.1~19 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=cdf8a389dd8c0ab53bf43713fbed5ca30dcfed9d;p=alsa-ucm-conf.git sof-hda-dsp: fix the volume/switch values in HiFi Signed-off-by: Jaroslav Kysela --- 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" } }