aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinod Koul <vinod.koul@intel.com>2017-02-09 06:14:02 -0500
committerMark Brown <broonie@kernel.org>2017-02-16 13:58:09 -0500
commit06a99ddd2049e2697de32a9435c4d5c5b5c78360 (patch)
treec2cf623f2456a0db8eb2f95871e6f713124f7d63
parentdb2f586b803eb6a7974098dd8ce1201f048071d0 (diff)
ASoC: rt298: Add DMI match for Geminilake reference platform
Geminilake reference platform also uses combo jack for audio connector so we need to set codec pdata to use this based on DMI match for this board. Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r--sound/soc/codecs/rt298.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt298.c b/sound/soc/codecs/rt298.c
index 7150a407ffd9..d9e96e65e1c4 100644
--- a/sound/soc/codecs/rt298.c
+++ b/sound/soc/codecs/rt298.c
@@ -1163,6 +1163,13 @@ static const struct dmi_system_id force_combo_jack_table[] = {
1163 DMI_MATCH(DMI_PRODUCT_NAME, "Broxton P") 1163 DMI_MATCH(DMI_PRODUCT_NAME, "Broxton P")
1164 } 1164 }
1165 }, 1165 },
1166 {
1167 .ident = "Intel Gemini Lake",
1168 .matches = {
1169 DMI_MATCH(DMI_SYS_VENDOR, "Intel Corp"),
1170 DMI_MATCH(DMI_PRODUCT_NAME, "Geminilake")
1171 }
1172 },
1166 { } 1173 { }
1167}; 1174};
1168 1175