Skip to content

Commit ebdf9d1

Browse files
Zoran Zhanperexg
Zoran Zhan
authored andcommitted
ucm2: MediaTek: mt8395-evk: Add headset jack detection
Add headphone and headset microphone jack detection support on mt8395-evk. Closes: #456 Signed-off-by: Zoran Zhan <[email protected]> Signed-off-by: Jaroslav Kysela <[email protected]>
1 parent 3b81e60 commit ebdf9d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ucm2/MediaTek/mt8395-evk/HiFi.conf

+2
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ SectionDevice."Headphones" {
100100
PlaybackPriority 400
101101
PlaybackChannels 2
102102
PlaybackPCM "hw:${CardId},0"
103+
JackControl "Headphone Jack"
103104
}
104105
}
105106

@@ -118,6 +119,7 @@ SectionDevice."Headset" {
118119
CapturePriority 500
119120
CaptureChannels 3
120121
CapturePCM "hw:${CardId},15"
122+
JackControl "Headset Mic Jack"
121123
}
122124
}
123125

0 commit comments

Comments
 (0)