summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5645.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-01-02 19:53:13 +0100
committerMark Brown <broonie@kernel.org>2018-01-03 12:30:38 +0100
commita249a95667f4f814b9b15f4b59049ffe68b5677f (patch)
treeab1ded702b3b7ee2a8dd10c737207b90298aec87 /sound/soc/codecs/rt5645.c
parentASoC: rt5645: cleanup DMI matching code (diff)
downloadlinux-a249a95667f4f814b9b15f4b59049ffe68b5677f.tar.xz
linux-a249a95667f4f814b9b15f4b59049ffe68b5677f.zip
ASoC: rt5645: add platform data for the Teclast X80 Pro tablet
The Teclast X80 Pro tablet needs jd_mode = 3 for headset jack detection. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt5645.c')
-rw-r--r--sound/soc/codecs/rt5645.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index df6cd5bd6a9f..daf7b73ba415 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -3676,6 +3676,14 @@ static const struct dmi_system_id dmi_platform_data[] = {
},
.driver_data = (void *)&jd_mode3_platform_data,
},
+ {
+ .ident = "Teclast X80 Pro",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "TECLAST"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "X80 Pro"),
+ },
+ .driver_data = (void *)&jd_mode3_platform_data,
+ },
{ }
};