The Headphone controls are used by both speaker and headphone,
due to that, can't be used to detect if the device has Speaker
and/or headphones.
Also, all such controls are already initialized during the
BootSequence.
So, just drop them.
Fixes: https://github.com/alsa-project/alsa-ucm-conf/pull/144
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
File "/Intel/sof-essx8336/HiFi.conf"
Comment "Play and record HiFi quality Music"
}
-
-# the kcontrols initial values, which will be set by `alsactl init`
-If.speaker {
- Condition {
- Type ControlExists
- Control "DAC Playback Volume"
- }
- True.BootSequence [
- cset "name='DAC Playback Volume' 60%"
- ]
-}
-
-If.headphone {
- Condition {
- Type ControlExists
- Control "name='Headphone Playback Volume'"
- }
- True.BootSequence [
- cset "name='Headphone Playback Volume' 60%"
- ]
-}
-
If.dmic {
Condition {
Type String
}
}
-If.Capture {
- Condition {
- Type ControlExists
- Control "name='ADC Capture Volume'"
- }
- True.BootSequence [
- cset "name='ADC Capture Volume' 60%"
- ]
-}