ASoC: rt298: Add DMI match for Geminilake reference platform
authorVinod Koul <[email protected]>
Thu, 9 Feb 2017 11:14:02 +0000 (16:44 +0530)
committerMark Brown <[email protected]>
Thu, 16 Feb 2017 18:58:09 +0000 (18:58 +0000)
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 <[email protected]>
Signed-off-by: Subhransu S. Prusty <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
sound/soc/codecs/rt298.c

index 7150a407ffd9d9e8590e83a9673d36781cf76bf1..d9e96e65e1c43f95cebd224960da0bd53de5c27d 100644 (file)
@@ -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")
+               }
+       },
        { }
 };