diff options
author | Hans de Goede <hdegoede@redhat.com> | 2018-08-21 13:43:35 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2018-08-28 21:37:05 +0200 |
commit | 818838e6bfa4ddc6c76703237028dcffb80d6496 (patch) | |
tree | 08d200a2b30597f4482942cc19e64ed1e92d9237 | |
parent | ASoC: adau17x1: Implemented safeload support (diff) | |
download | linux-818838e6bfa4ddc6c76703237028dcffb80d6496.tar.xz linux-818838e6bfa4ddc6c76703237028dcffb80d6496.zip |
ASoC: rt5670: Add quirk for Thinkpad 8 tablet
The Thinkpad 8 needs a quirk for jack-detect and the internal mic to
work correctly.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | sound/soc/codecs/rt5670.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5670.c b/sound/soc/codecs/rt5670.c index 732ef928b25d..455fe7cff700 100644 --- a/sound/soc/codecs/rt5670.c +++ b/sound/soc/codecs/rt5670.c @@ -2877,6 +2877,18 @@ static const struct dmi_system_id dmi_platform_intel_quirks[] = { }, { .callback = rt5670_quirk_cb, + .ident = "Lenovo Thinkpad Tablet 8", + .matches = { + DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), + DMI_MATCH(DMI_PRODUCT_VERSION, "ThinkPad 8"), + }, + .driver_data = (unsigned long *)(RT5670_DMIC_EN | + RT5670_DMIC2_INR | + RT5670_DEV_GPIO | + RT5670_JD_MODE1), + }, + { + .callback = rt5670_quirk_cb, .ident = "Lenovo Thinkpad Tablet 10", .matches = { DMI_MATCH(DMI_SYS_VENDOR, "LENOVO"), |