From db6932f2fcfb7e8f03df4273f70fca326e2bd908 Mon Sep 17 00:00:00 2001 From: Jaroslav Kysela Date: Mon, 24 Mar 2025 17:27:48 +0100 Subject: [PATCH] sof-hda-dsp: Use common HDA initialization from /HDA/init.conf No functional changes. Signed-off-by: Jaroslav Kysela --- ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf | 54 +------------------------ 1 file changed, 1 insertion(+), 53 deletions(-) diff --git a/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf b/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf index 571c207..892894b 100644 --- a/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf +++ b/ucm2/Intel/sof-hda-dsp/sof-hda-dsp.conf @@ -44,38 +44,7 @@ SectionUseCase."HiFi" { Comment "Play HiFi quality Music" } -# the kcontrols initial values, which will be set by `alsactl init` - -If.amute { - Condition { - Type ControlExists - Control "name='Auto-Mute Mode'" - } - True.BootSequence [ - cset "name='Auto-Mute Mode' off" - ] -} - -If.master { - Condition { - Type ControlExists - Control "name='Master Playback Volume'" - } - True.BootSequence [ - cset "name='Master Playback Volume' 60%" - cset "name='Master Playback Switch' on" - ] -} - -If.speaker { - Condition { - Type ControlExists - Control "name='Speaker Playback Volume'" - } - True.BootSequence [ - cset "name='Speaker Playback Volume' 60%" - ] -} +Include.hda-init.File "/HDA/init.conf" If.DellMuteLed { Condition { @@ -86,16 +55,6 @@ If.DellMuteLed { True.Macro [{ SetLED { LED="speaker" Action="detach" CtlId="Master Playback Switch" } }] } -If.headphone { - Condition { - Type ControlExists - Control "name='Headphone Playback Volume'" - } - True.BootSequence [ - cset "name='Headphone Playback Volume' 60%" - ] -} - If.dmic { Condition { Type String @@ -118,17 +77,6 @@ If.dmic { } } -If.Capture { - Condition { - Type ControlExists - Control "name='Capture Switch'" - } - True.BootSequence [ - cset "name='Capture Volume' 60%" - cset "name='Capture Switch' on" - ] -} - Include.hdmi-pcm.File "/common/pcm/hdmi.conf" Macro.0.HdmiDevice { Iec61937Devices "${var:Iec61937Pcms1}" Dev 3 Idx 0 } -- 2.47.1