chtrt5650: adapt to ucm2

Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Jaroslav Kysela 2019-11-21 14:05:23 +01:00
commit 6c56567a7c
2 changed files with 2 additions and 22 deletions

View file

@ -5,13 +5,11 @@ SectionVerb {
TQ "HiFi"
# ALSA PCM device for HiFi
PlaybackPCM "hw:chtrt5650"
CapturePCM "hw:chtrt5650"
PlaybackPCM "hw:${CardId}"
CapturePCM "hw:${CardId}"
}
EnableSequence [
cdev "hw:chtrt5650"
<platforms/bytcr/PlatformEnableSeq.conf>
<codecs/rt5645/EnableSeq.conf>
@ -23,8 +21,6 @@ SectionVerb {
]
DisableSequence [
cdev "hw:chtrt5650"
<codecs/rt5645/DisableSeq.conf>
]
}
@ -41,14 +37,10 @@ SectionDevice."Speaker" {
]
EnableSequence [
cdev "hw:chtrt5650"
<codecs/rt5645/SpeakerEnableSeq.conf>
]
DisableSequence [
cdev "hw:chtrt5650"
cset "name='Ext Spk Switch' off"
cset "name='Speaker Channel Switch' off"
]
@ -68,14 +60,10 @@ SectionDevice."Headphones" {
]
EnableSequence [
cdev "hw:chtrt5650"
<codecs/rt5645/HeadphonesEnableSeq.conf>
]
DisableSequence [
cdev "hw:chtrt5650"
cset "name='Headphone Switch' off"
cset "name='Headphone Channel Switch' off"
]
@ -90,16 +78,12 @@ SectionDevice."Mic".0 {
}
EnableSequence [
cdev "hw:chtrt5650"
cset "name='Int Mic Switch' on"
cset "name='Sto1 ADC MIXL ADC2 Switch' on"
cset "name='Sto1 ADC MIXR ADC2 Switch' on"
]
DisableSequence [
cdev "hw:chtrt5650"
cset "name='Sto1 ADC MIXL ADC2 Switch' off"
cset "name='Sto1 ADC MIXR ADC2 Switch' off"
cset "name='Int Mic Switch' off"
@ -116,16 +100,12 @@ SectionDevice."HSMic".0 {
}
EnableSequence [
cdev "hw:chtrt5650"
<codecs/rt5645/HSMicEnableSeq.conf>
cset "name='IN1 Boost' 1"
]
DisableSequence [
cdev "hw:chtrt5650"
<codecs/rt5645/HSMicDisableSeq.conf>
cset "name='IN1 Boost' 0"