]> git.alsa-project.org Git - alsa-ucm-conf.git/commitdiff
ucm2: MediaTek: mt8390-evk: Add headset jack detection
authorZoran Zhan <zoran zhan@mediatek.com>
Fri, 2 Aug 2024 07:07:57 +0000 (15:07 +0800)
committerJaroslav Kysela <perex@perex.cz>
Thu, 7 Nov 2024 11:42:09 +0000 (12:42 +0100)
Add headphone and headset microphone jack detection support on
mt8390-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>
ucm2/MediaTek/mt8390-evk/HiFi.conf

index 65f83048a08e565cfafc384506e2488606e737eb..a94adb0cf136d33a4013a3bb7ed0a68e6092cba2 100644 (file)
@@ -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"
        }
 }