Skip to content

Commit

Permalink
ASoC: rt5645: Add platform-data for Lenovo Ideapad Mixx 320
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
  • Loading branch information
jwrdegoede authored and broonie committed May 11, 2018
1 parent 8792758 commit 25c8b55
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions sound/soc/codecs/rt5645.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
},
{ }
};

Expand Down

0 comments on commit 25c8b55

Please sign in to comment.