]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blob - releases/6.8.6/asoc-sof-amd-optimize-quirk-for-valve-galileo.patch
Linux 6.8.6
[thirdparty/kernel/stable-queue.git] / releases / 6.8.6 / asoc-sof-amd-optimize-quirk-for-valve-galileo.patch
1 From 9bb5b416c4f8b658f82dc45eb0a0eaad60c337c0 Mon Sep 17 00:00:00 2001
2 From: Sasha Levin <sashal@kernel.org>
3 Date: Tue, 19 Dec 2023 05:07:24 +0200
4 Subject: ASoC: SOF: amd: Optimize quirk for Valve Galileo
5
6 From: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
7
8 [ Upstream commit a13f0c3c0e8fb3e61fbfd99c6b350cf9be0c4660 ]
9
10 Valve's Steam Deck OLED is uniquely identified by vendor and product
11 name (Galileo) DMI fields.
12
13 Simplify the quirk by removing the unnecessary match on product family.
14
15 Additionally, fix the related comment as it points to the old product
16 variant.
17
18 Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
19 Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
20 Link: https://msgid.link/r/20231219030728.2431640-7-cristian.ciocaltea@collabora.com
21 Signed-off-by: Mark Brown <broonie@kernel.org>
22 Signed-off-by: Sasha Levin <sashal@kernel.org>
23 ---
24 sound/soc/sof/amd/acp.c | 3 +--
25 1 file changed, 1 insertion(+), 2 deletions(-)
26
27 diff --git a/sound/soc/sof/amd/acp.c b/sound/soc/sof/amd/acp.c
28 index 2c242ef9f23c1..1b6f5724c82b0 100644
29 --- a/sound/soc/sof/amd/acp.c
30 +++ b/sound/soc/sof/amd/acp.c
31 @@ -31,11 +31,10 @@ static struct acp_quirk_entry quirk_valve_galileo = {
32
33 const struct dmi_system_id acp_sof_quirk_table[] = {
34 {
35 - /* Valve Jupiter device */
36 + /* Steam Deck OLED device */
37 .matches = {
38 DMI_MATCH(DMI_SYS_VENDOR, "Valve"),
39 DMI_MATCH(DMI_PRODUCT_NAME, "Galileo"),
40 - DMI_MATCH(DMI_PRODUCT_FAMILY, "Sephiroth"),
41 },
42 .driver_data = &quirk_valve_galileo,
43 },
44 --
45 2.43.0
46