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 {
|
||||
Condition {
|
||||
Type String
|
||||
String1 "${sys:class/dmi/id/product_family}"
|
||||
String1 "$${sys:class/dmi/id/product_family}"
|
||||
String2 "Google_Hatch"
|
||||
}
|
||||
True {
|
||||
|
@ -16,7 +16,7 @@ If.cml {
|
|||
If.tgl {
|
||||
Condition {
|
||||
Type String
|
||||
String1 "${sys:class/dmi/id/product_family}"
|
||||
String1 "$${sys:class/dmi/id/product_family}"
|
||||
String2 "Google_Volteer"
|
||||
}
|
||||
True {
|
||||
|
@ -31,7 +31,7 @@ If.jsl {
|
|||
Condition {
|
||||
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)$"
|
||||
String "${sys:class/dmi/id/product_name}"
|
||||
String "$${sys:class/dmi/id/product_name}"
|
||||
}
|
||||
True {
|
||||
Define.jsl y
|
||||
|
@ -44,7 +44,7 @@ If.adl {
|
|||
Condition {
|
||||
Type RegexMatch
|
||||
Regex "^Google_(Brya|Brask|Nissa)$"
|
||||
String "${sys:class/dmi/id/product_family}"
|
||||
String "$${sys:class/dmi/id/product_family}"
|
||||
}
|
||||
True {
|
||||
Define.adl y
|
||||
|
|
Loading…
Reference in New Issue