From cfd16856a5e2f4fe2f46af05d41a6742e285a139 Mon Sep 17 00:00:00 2001 From: WeirdTreeThing Date: Sat, 27 May 2023 08:21:38 -0400 Subject: [PATCH] adl/sof-nau8825/osiris: use dmi matching --- adl/sof-nau8825/Google-Osiris-rev3.conf | 8 -------- adl/sof-nau8825/{HiFi.conf => HiFi.osiris.conf} | 0 adl/sof-nau8825/sof-nau8825.conf | 13 +++++++++++++ 3 files changed, 13 insertions(+), 8 deletions(-) delete mode 100644 adl/sof-nau8825/Google-Osiris-rev3.conf rename adl/sof-nau8825/{HiFi.conf => HiFi.osiris.conf} (100%) create mode 100644 adl/sof-nau8825/sof-nau8825.conf diff --git a/adl/sof-nau8825/Google-Osiris-rev3.conf b/adl/sof-nau8825/Google-Osiris-rev3.conf deleted file mode 100644 index c642046..0000000 --- a/adl/sof-nau8825/Google-Osiris-rev3.conf +++ /dev/null @@ -1,8 +0,0 @@ -Syntax 6 - -Comment "osiris internal card" - -SectionUseCase."HiFi" { - File "HiFi.conf" - Comment "Default" -} diff --git a/adl/sof-nau8825/HiFi.conf b/adl/sof-nau8825/HiFi.osiris.conf similarity index 100% rename from adl/sof-nau8825/HiFi.conf rename to adl/sof-nau8825/HiFi.osiris.conf diff --git a/adl/sof-nau8825/sof-nau8825.conf b/adl/sof-nau8825/sof-nau8825.conf new file mode 100644 index 0000000..a4abadb --- /dev/null +++ b/adl/sof-nau8825/sof-nau8825.conf @@ -0,0 +1,13 @@ +Syntax 6 + +If.osiris { + Condition { + Type String + Haystack "${sys:devices/virtual/dmi/id/product_name}" + Needle "Osiris" + } + True.SectionUseCase."HiFi" { + File "HiFi.osiris.conf" + Comment "Default" + } +}