sof-rt5682/platform: Fix detection on JSL
product_family doesn't exist on jsl, so allow the var to not existcommon-codecs
parent
0bf94cabe6
commit
c90948fe88
|
@ -3,7 +3,7 @@
|
||||||
If.cml {
|
If.cml {
|
||||||
Condition {
|
Condition {
|
||||||
Type String
|
Type String
|
||||||
String1 "${sys:class/dmi/id/product_family}"
|
String1 "$${sys:class/dmi/id/product_family}"
|
||||||
String2 "Google_Hatch"
|
String2 "Google_Hatch"
|
||||||
}
|
}
|
||||||
True {
|
True {
|
||||||
|
@ -16,7 +16,7 @@ If.cml {
|
||||||
If.tgl {
|
If.tgl {
|
||||||
Condition {
|
Condition {
|
||||||
Type String
|
Type String
|
||||||
String1 "${sys:class/dmi/id/product_family}"
|
String1 "$${sys:class/dmi/id/product_family}"
|
||||||
String2 "Google_Volteer"
|
String2 "Google_Volteer"
|
||||||
}
|
}
|
||||||
True {
|
True {
|
||||||
|
@ -31,7 +31,7 @@ If.jsl {
|
||||||
Condition {
|
Condition {
|
||||||
Type RegexMatch
|
Type RegexMatch
|
||||||
Regex "^(beadrix|beetley|blipper|bookem|boten|botenflex|boxy|bugzzy|common|cret|cret360|dexi|dibbi|drawcia|drawlat|drawman|drawper|galith|galith360|gallop|galnat|galnat360|galtic|galtic360|gesture|kracko|kracko360|landia|landrid|lantis|madoo|magister|maglet|maglia|maglith|magma|magneto|magolor|magpie|metaknight|oscino|pasara|peezer|pirette|pirika|sasuke|sasukette|shotzo|storo|taranza|waddledee|waddledoo)$"
|
Regex "^(beadrix|beetley|blipper|bookem|boten|botenflex|boxy|bugzzy|common|cret|cret360|dexi|dibbi|drawcia|drawlat|drawman|drawper|galith|galith360|gallop|galnat|galnat360|galtic|galtic360|gesture|kracko|kracko360|landia|landrid|lantis|madoo|magister|maglet|maglia|maglith|magma|magneto|magolor|magpie|metaknight|oscino|pasara|peezer|pirette|pirika|sasuke|sasukette|shotzo|storo|taranza|waddledee|waddledoo)$"
|
||||||
String "${sys:class/dmi/id/product_name}"
|
String "$${sys:class/dmi/id/product_name}"
|
||||||
}
|
}
|
||||||
True {
|
True {
|
||||||
Define.jsl y
|
Define.jsl y
|
||||||
|
@ -44,7 +44,7 @@ If.adl {
|
||||||
Condition {
|
Condition {
|
||||||
Type RegexMatch
|
Type RegexMatch
|
||||||
Regex "^Google_(Brya|Brask|Nissa)$"
|
Regex "^Google_(Brya|Brask|Nissa)$"
|
||||||
String "${sys:class/dmi/id/product_family}"
|
String "$${sys:class/dmi/id/product_family}"
|
||||||
}
|
}
|
||||||
True {
|
True {
|
||||||
Define.adl y
|
Define.adl y
|
||||||
|
|
Loading…
Reference in New Issue