HDA: mics - prefer 'Mic Jack' instead 'Headphone Jack'
Headphone Jack may be for playback only.
Example Jack controls for ALC287 with sof-hda-dsp:
iface=CARD,name='Headphone Jack' # reflects for Headphones w/o mic
iface=CARD,name='Mic Jack' # reflects to Headphones with mic
Fixes: 19fc5b9 ("ucm2: HDA: HiFi-analog/mic: Refactor the analog mic discovery")
Link: https://github.com/alsa-project/alsa-ucm-conf/pull/526
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
a32761f8e4
commit
eef260f25d
1 changed files with 4 additions and 4 deletions
|
|
@ -60,15 +60,15 @@ If.hsmicjack {
|
|||
False.If.hpjack {
|
||||
Condition {
|
||||
Type ControlExists
|
||||
Control "iface=CARD,name='Headphone Jack'"
|
||||
Control "iface=CARD,name='Mic Jack'"
|
||||
}
|
||||
True.Define.MicJackControl "Headphone Jack"
|
||||
True.Define.MicJackControl "Mic Jack"
|
||||
False.If.micjack {
|
||||
Condition {
|
||||
Type ControlExists
|
||||
Control "iface=CARD,name='Mic Jack'"
|
||||
Control "iface=CARD,name='Headphone Jack'"
|
||||
}
|
||||
True.Define.MicJackControl "Mic Jack"
|
||||
True.Define.MicJackControl "Headphone Jack"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue