From patchwork Wed Jan 17 12:14:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Abrecht X-Patchwork-Id: 13521659 Received: from abrecht.li (75-128-16-94.static.cable.fcom.ch [94.16.128.75]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 79E4B1DFC7; Wed, 17 Jan 2024 12:14:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=94.16.128.75 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705493657; cv=none; b=c08L9wSW3OtLAvB6mfENkB8Pfv06YYK4JzYRn/L4hW2G+RGyveb3+bX50KbZBdHZZLBYFFC0e2zZlfR/bpyLS6NbdBPt89XYzbO/70YIfH2KvcPIqlBbN8iigGxQldSHckarbVOylSyHXQZPWqoSfheAVGogP1ki+UNRRw8RV4E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1705493657; c=relaxed/simple; bh=RlZFmj9rLo2wrABejOWSXj94vkocMEJnlyZj1KYaC+A=; h=DKIM-Filter:Received:MIME-Version:Date:From:To:Subject:Message-ID: X-Sender:Content-Type:Content-Transfer-Encoding; b=Dnfi7m8GGEZ9MrJhApdZE6fWNBX18XjyzVAtjeCTPI0zf5xYq+aGqvs+JBymb/TnRh0DQzG4JZ0ngIDZc+UacqFsdIW+pLt09w3Zerh6DEuhzYPJj6s1jwh4b4xeVbFwh1uf+8uMDcoUWGrju0zAj/gjMO9EVdhXGHGlnjWtauM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nodmarc.danielabrecht.ch; spf=pass smtp.mailfrom=nodmarc.danielabrecht.ch; arc=none smtp.client-ip=94.16.128.75 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=nodmarc.danielabrecht.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=nodmarc.danielabrecht.ch DKIM-Filter: OpenDKIM Filter v2.11.0 abrecht.li EE8F726B6536 Received: from toucan.dmz.abrecht.li (unknown [IPv6:fc00:4::a3c:111]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by abrecht.li (Postfix) with ESMTPSA id EE8F726B6536; Wed, 17 Jan 2024 12:14:10 +0000 (UTC) Precedence: bulk X-Mailing-List: linux-sound@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Wed, 17 Jan 2024 13:14:10 +0100 From: Daniel Abrecht To: Liam Girdwood , Mark Brown , Jaroslav Kysela , Takashi Iwai , linux-sound@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] ASoC: soc-core.c: Add "Unknown" and "Unknown Product" to dmi_blacklist Message-ID: <78a54997daea2b327ad59d495bc33851@abrecht.li> X-Sender: linux-sound@nodmarc.danielabrecht.ch 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 Acked-by: Jaroslav Kysela --- 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 */ };