sof-hda-dsp: Use common HDA initialization from /HDA/init.conf
No functional changes. Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
0efe68b22a
commit
db6932f2fc
1 changed files with 1 additions and 53 deletions
|
|
@ -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 }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue