projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b0f2d65
)
ASoC: rt5670: Add quirk for Thinkpad 8 tablet
author
Hans de Goede
<
[email protected]
>
Tue, 21 Aug 2018 11:43:35 +0000
(13:43 +0200)
committer
Mark Brown
<
[email protected]
>
Tue, 28 Aug 2018 19:37:05 +0000
(20:37 +0100)
The Thinkpad 8 needs a quirk for jack-detect and the internal mic to
work correctly.
Signed-off-by: Hans de Goede <
[email protected]
>
Signed-off-by: Mark Brown <
[email protected]
>
sound/soc/codecs/rt5670.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/rt5670.c
b/sound/soc/codecs/rt5670.c
index 732ef928b25d9c729772f96060a4bb852678572e..455fe7cff700bd9f58f72c3627b00bd44a2c8fe8 100644
(file)
--- a/
sound/soc/codecs/rt5670.c
+++ b/
sound/soc/codecs/rt5670.c
@@
-2875,6
+2875,18
@@
static const struct dmi_system_id dmi_platform_intel_quirks[] = {
RT5670_DEV_GPIO |
RT5670_JD_MODE1),
},
+ {
+ .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",