From: Jaroslav Kysela Date: Mon, 12 Jan 2026 09:46:06 +0000 (+0100) Subject: sof-hda-dsp: Headphone output is optional X-Git-Tag: v1.2.15.3~5 X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=e5c678fdd0469df58c7761fa7b27a9d7828fcca8;p=alsa-ucm-conf.git sof-hda-dsp: Headphone output is optional Align changes with commit c8b5541. Fixes: c8b5541 ("ucm2: HDA: Headphone output may be optional") Signed-off-by: Jaroslav Kysela --- diff --git a/ucm2/Intel/sof-hda-dsp/HiFi-sof.conf b/ucm2/Intel/sof-hda-dsp/HiFi-sof.conf index 738da91..d71c444 100644 --- a/ucm2/Intel/sof-hda-dsp/HiFi-sof.conf +++ b/ucm2/Intel/sof-hda-dsp/HiFi-sof.conf @@ -44,8 +44,14 @@ DefineMacro.SofAnalogPlaybackControl { } # Merge this to Headpones subtree in HDA/HiFi-analog.conf -SectionDevice."Headphones" { - Macro.headphone.SofAnalogPlaybackControl "endpoint=Headphone drcswitch=off" +If.hp { + Condition { + Type ControlExists + Control "name='Headphone Playback Switch'" + } + True.SectionDevice."Headphones" { + Macro.headphone.SofAnalogPlaybackControl "endpoint=Headphone drcswitch=off" + } } # Merge this to Speaker subtree in HDA/HiFi-analog.conf