]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
ASoC: rt5645: Make LattePanda board DMI match more precise
authorHans de Goede <hdegoede@redhat.com>
Sun, 11 Feb 2024 21:27:35 +0000 (22:27 +0100)
committerSasha Levin <sashal@kernel.org>
Tue, 26 Mar 2024 22:19:10 +0000 (18:19 -0400)
commitc33afbcc9cd899289ca42d1bb691cbc7547fa682
tree75581ba1d6b300ded883c9ed45086a6ba5130302
parent071facc21c6e64392399b15cfee4140f0e652088
ASoC: rt5645: Make LattePanda board DMI match more precise

[ Upstream commit 551539a8606e28cb2a130f8ef3e9834235b456c4 ]

The DMI strings used for the LattePanda board DMI quirks are very generic.

Using the dmidecode database from https://linux-hardware.org/ shows
that the chosen DMI strings also match the following 2 laptops
which also have a rt5645 codec:

Insignia NS-P11W7100 https://linux-hardware.org/?computer=E092FFF8BA04
Insignia NS-P10W8100 https://linux-hardware.org/?computer=AFB6C0BF7934

All 4 hw revisions of the LattePanda board have "S70CR" in their BIOS
version DMI strings:

DF-BI-7-S70CR100-*
DF-BI-7-S70CR110-*
DF-BI-7-S70CR200-*
LP-BS-7-S70CR700-*

See e.g. https://linux-hardware.org/?computer=D98250A817C0

Add a partial (non exact) DMI match on this string to make the LattePanda
board DMI match more precise to avoid false-positive matches.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://msgid.link/r/20240211212736.179605-1-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/rt5645.c