ucm2: MediaTek: mt8370-evk: Add headset jack detection
Add headphone and headset microphone jack detection support on mt8370-evk. Closes: https://github.com/alsa-project/alsa-ucm-conf/pull/456 Signed-off-by: Zoran Zhan <zoran.zhan@mediatek.com> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
1b5de60bee
commit
35a315312f
1 changed files with 2 additions and 0 deletions
|
|
@ -91,6 +91,7 @@ SectionDevice."Headphones" {
|
|||
PlaybackPriority 500
|
||||
PlaybackChannels 2
|
||||
PlaybackPCM "hw:${CardId},0"
|
||||
JackControl "Headphone Jack"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -109,6 +110,7 @@ SectionDevice."Headset" {
|
|||
CapturePriority 500
|
||||
CaptureChannels 1
|
||||
CapturePCM "hw:${CardId},10"
|
||||
JackControl "Headset Mic Jack"
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue