mdn/sof-rt5682-hs-rt1019: Update JackControl

Use Headphone Jack and Headset Mic Jack to be able to tell the
difference between headphones without a mic and a headset.
pull/4/head
WeirdTreeThing 2023-08-17 12:32:39 -04:00
parent 488717d678
commit 546303f811
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
1 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ SectionDevice."Headphones" {
PlaybackPriority 200 PlaybackPriority 200
PlaybackPCM "hw:${CardId},0" PlaybackPCM "hw:${CardId},0"
PlaybackMixerElem "DAC1" PlaybackMixerElem "DAC1"
JackControl "Headset Jack" JackControl "Headphone Jack"
} }
EnableSequence [ EnableSequence [
cset "name='Headphone Jack Switch' on" cset "name='Headphone Jack Switch' on"
@ -147,7 +147,7 @@ SectionDevice."Headset" {
CapturePriority 200 CapturePriority 200
CapturePCM "hw:${CardId},0" CapturePCM "hw:${CardId},0"
CaptureMixerElem "Headset Mic" CaptureMixerElem "Headset Mic"
JackControl "Headset Jack" JackControl "Headset Mic Jack"
} }
EnableSequence [ EnableSequence [
cset "name='Headset Mic Switch' on" cset "name='Headset Mic Switch' on"