tgl: Use double $$ for codec detection

Fixes ucm not working when probing for codecs that don't exist. Adding
more money seems to fix quite a few problems in life.
common-codecs
WeirdTreeThing 2023-11-09 21:31:51 -05:00
parent a1e79cdfb2
commit 0111d8012c
No known key found for this signature in database
GPG Key ID: 1F56A4B52998B851
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
If.rt5682s {
Condition {
Type String
Haystack "${sys:bus/i2c/devices/i2c-RTL5682:00/modalias}"
Haystack "$${sys:bus/i2c/devices/i2c-RTL5682:00/modalias}"
Needle "apci:RTL5682:"
}
True.Include.headset.File "/codecs/rt5682s/headset.conf"
@ -10,7 +10,7 @@ If.rt5682s {
If.max98373 {
Condition {
Type String
Haystack "${sys:bus/i2c/devices/i2c-MX98373:00/modalias}"
Haystack "$${sys:bus/i2c/devices/i2c-MX98373:00/modalias}"
Needle "apci:MX98373:"
}
True.Include.speaker.File "/codecs/max98373/speaker.conf"

View File

@ -8,7 +8,7 @@ SectionUseCase."HiFi" {
If.rt5682s {
Condition {
Type String
Haystack "${sys:bus/i2c/devices/i2c-RTL5682:00/modalias}"
Haystack "$${sys:bus/i2c/devices/i2c-RTL5682:00/modalias}"
Needle "apci:RTL5682:"
}
True.Include.codec-init.File "/codecs/rt5682s/init.conf"
@ -17,7 +17,7 @@ If.rt5682s {
If.max98373 {
Condition {
Type String
Haystack "${sys:bus/i2c/devices/i2c-MX98373:00/modalias}"
Haystack "$${sys:bus/i2c/devices/i2c-MX98373:00/modalias}"
Needle "apci:MX98373:"
}
True.Include.codec-init.File "/codecs/max98373/init.conf"