All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ASoC: rt5670: Enable Braswell platform workaround for Dell Wyse 3040
@ 2016-11-30 16:19 Takashi Iwai
  2016-11-30 16:36 ` Vinod Koul
  2016-11-30 17:16 ` Applied "ASoC: rt5670: Enable Braswell platform workaround for Dell Wyse 3040" to the asoc tree Mark Brown
  0 siblings, 2 replies; 6+ messages in thread
From: Takashi Iwai @ 2016-11-30 16:19 UTC (permalink / raw)
  To: Mark Brown
  Cc: Oder Chiou, alsa-devel, Vinod Koul, Liam Girdwood,
	Pierre-Louis Bossart, Bard Liao

Dell Wyse 3040 requires the platform workaround for enabling dmic and
jack detection as defined for Braswell CRB.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

---

I guess the platform data should be applied generically to all CHT
machines instead of DMI matching?  DMI matching doesn't scale,
obviously.

 sound/soc/codecs/rt5670.c | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c
index 98c7efbc6ee0..97bafac3bc15 100644
--- a/sound/soc/codecs/rt5670.c
+++ b/sound/soc/codecs/rt5670.c
@@ -2827,6 +2827,13 @@ static const struct dmi_system_id dmi_platform_intel_braswell[] = {
 			DMI_MATCH(DMI_BOARD_NAME, "Braswell CRB"),
 		},
 	},
+	{
+		.ident = "Dell Wyse 3040",
+		.matches = {
+			DMI_MATCH(DMI_SYS_VENDOR, "Dell Inc."),
+			DMI_MATCH(DMI_PRODUCT_NAME, "Wyse 3040"),
+		},
+	},
 	{}
 };
 
-- 
2.10.2

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-12-01 10:50 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-11-30 16:19 [PATCH] ASoC: rt5670: Enable Braswell platform workaround for Dell Wyse 3040 Takashi Iwai
2016-11-30 16:36 ` Vinod Koul
2016-11-30 16:30   ` Takashi Iwai
2016-12-01  3:30     ` Vinod Koul
2016-12-01 10:50       ` Mark Brown
2016-11-30 17:16 ` Applied "ASoC: rt5670: Enable Braswell platform workaround for Dell Wyse 3040" to the asoc tree Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.