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
parent
a1e79cdfb2
commit
0111d8012c
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue