aboutsummaryrefslogtreecommitdiff
path: root/sound/soc/codecs/rt298.c
diff options
context:
space:
mode:
authorGravatar Vinod Koul <vinod.koul@intel.com> 2017-02-09 16:44:02 +0530
committerGravatar Mark Brown <broonie@kernel.org> 2017-02-16 18:58:09 +0000
commit06a99ddd2049e2697de32a9435c4d5c5b5c78360 (patch)
treec2cf623f2456a0db8eb2f95871e6f713124f7d63 /sound/soc/codecs/rt298.c
parentASoC: Intel: Skylake: Check device type to get endpoint configuration (diff)
downloadlinux-06a99ddd2049e2697de32a9435c4d5c5b5c78360.tar.gz
linux-06a99ddd2049e2697de32a9435c4d5c5b5c78360.tar.bz2
linux-06a99ddd2049e2697de32a9435c4d5c5b5c78360.zip
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>
Diffstat (limited to 'sound/soc/codecs/rt298.c')
-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[] = {
DMI_MATCH(DMI_PRODUCT_NAME, "Broxton P")
}
},
+ {
+ .ident = "Intel Gemini Lake",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Intel Corp"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Geminilake")
+ }
+ },
{ }
};