summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt5645.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2018-04-28 22:25:03 +0200
committerMark Brown <broonie@kernel.org>2018-05-11 11:26:58 +0900
commit25c8b5500760839e503ac44954392cda79c69efc (patch)
treebde24b91ddd5df01b478430334e90aa3ceb6a50a /sound/soc/codecs/rt5645.c
parent87927581fc7b42719ba2fe23b690efb289459591 (diff)
downloadblackbird-op-linux-25c8b5500760839e503ac44954392cda79c69efc.tar.gz
blackbird-op-linux-25c8b5500760839e503ac44954392cda79c69efc.zip
ASoC: rt5645: Add platform-data for Lenovo Ideapad Mixx 320
The Lenovo Ideapad Mixx 320 has a digital mic connected to DMIC2 add a DMI based quirk pointing to the intel_braswell_platform_data for devices with a mic on DMIC2. 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.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 70f351c61d41..712384581ebf 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -3749,6 +3749,15 @@ static const struct dmi_system_id dmi_platform_data[] = {
},
.driver_data = (void *)&lenovo_ideapad_miix_310_pdata,
},
+ {
+ .ident = "Lenovo Ideapad Miix 320",
+ .matches = {
+ DMI_EXACT_MATCH(DMI_SYS_VENDOR, "LENOVO"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_NAME, "80XF"),
+ DMI_EXACT_MATCH(DMI_PRODUCT_VERSION, "Lenovo MIIX 320-10ICR"),
+ },
+ .driver_data = (void *)&intel_braswell_platform_data,
+ },
{ }
};
OpenPOWER on IntegriCloud