From: Vinod Koul Date: Thu, 9 Feb 2017 11:14:02 +0000 (+0530) Subject: ASoC: rt298: Add DMI match for Geminilake reference platform X-Git-Tag: v4.11-rc1~38^2~15^2~13^2~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=06a99ddd2049e2697de32a9435c4d5c5b5c78360;p=platform%2Fkernel%2Flinux-exynos.git 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 Signed-off-by: Subhransu S. Prusty Signed-off-by: Mark Brown --- diff --git a/sound/soc/codecs/rt298.c b/sound/soc/codecs/rt298.c index 7150a40..d9e96e6 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") + } + }, { } };