From c90948fe88ead9333044cfea935432611ecc9580 Mon Sep 17 00:00:00 2001 From: WeirdTreeThing Date: Fri, 17 Nov 2023 11:39:12 -0500 Subject: [PATCH] sof-rt5682/platform: Fix detection on JSL product_family doesn't exist on jsl, so allow the var to not exist --- sof-rt5682/platform.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sof-rt5682/platform.conf b/sof-rt5682/platform.conf index 1aa3e1d..627a249 100644 --- a/sof-rt5682/platform.conf +++ b/sof-rt5682/platform.conf @@ -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