mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Daniel Abrecht <linux-sound@nodmarc.danielabrecht.ch>
To: Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v2] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist
Date: Wed, 17 Jan 2024 14:44:43 +0100	[thread overview]
Message-ID: <7d11d0711ad93f2208efb9ab13fe915b@abrecht.li> (raw)

In U-Boot, the default for DMI vendor / product if not set is "Unknown" 
and "Unknown Product".
See 
https://source.denx.de/u-boot/u-boot/-/blob/v2023.10/lib/smbios.c?ref_type=tags#L272

This patch adds them to the dmi_blacklist.

Signed-off-by: Daniel Abrecht <public@danielabrecht.ch>
Acked-by: Jaroslav Kysela <perex@perex.cz>
---
  sound/soc/soc-core.c | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index f8524b5bfb33..aa1a31abbe3a 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1804,6 +1804,8 @@ static const char * const dmi_blacklist[] = {
  	"Board Manufacturer",
  	"Board Vendor Name",
  	"Board Product Name",
+	"Unknown",
+	"Unknown Product",
  	NULL,	/* terminator */
  };

-- 
2.39.2

WARNING: multiple messages have this Message-ID
From: Daniel Abrecht <linux-sound@nodmarc.danielabrecht.ch>
To: Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Jaroslav Kysela <perex@perex.cz>,
	Takashi Iwai <tiwai@suse.com>,
	linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH v3] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist
Date: Mon, 22 Jan 2024 10:36:31 +0100	[thread overview]
Message-ID: <7d11d0711ad93f2208efb9ab13fe915b@abrecht.li> (raw)
Message-ID: <20240122093631.0jxZwO_o0F-SoUA1doBdRVAHfskd3z9WuBmKQMwjQ3E@z> (raw)

In U-Boot, the default for DMI vendor / product if not set is "Unknown" and "Unknown Product".
See https://source.denx.de/u-boot/u-boot/-/blob/v2023.10/lib/smbios.c?ref_type=tags#L272

This patch adds them to the dmi_blacklist.

Signed-off-by: Daniel Abrecht <public@danielabrecht.ch>
Acked-by: Jaroslav Kysela <perex@perex.cz>
---
 sound/soc/soc-core.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sound/soc/soc-core.c b/sound/soc/soc-core.c
index f8524b5bfb33..aa1a31abbe3a 100644
--- a/sound/soc/soc-core.c
+++ b/sound/soc/soc-core.c
@@ -1804,6 +1804,8 @@ static const char * const dmi_blacklist[] = {
 	"Board Manufacturer",
 	"Board Vendor Name",
 	"Board Product Name",
+	"Unknown",
+	"Unknown Product",
 	NULL,	/* terminator */
 };
 
-- 
2.39.2

             reply	other threads:[~2024-01-17 13:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-17 13:44 Daniel Abrecht [this message]
2024-01-22  0:05 ` Mark Brown
2024-01-22  9:36 ` [PATCH v3] " Daniel Abrecht
2024-01-22  9:46 ` Daniel Abrecht
2024-01-22 15:30 ` [PATCH v2] " Mark Brown
2024-01-22 17:53   ` Daniel Abrecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7d11d0711ad93f2208efb9ab13fe915b@abrecht.li \
    --to=linux-sound@nodmarc.danielabrecht.ch \
    --cc=broonie@kernel.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-sound@vger.kernel.org \
    --cc=perex@perex.cz \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®