123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- From dfe2385d2165eedba0ca3bb4fb72bb5293c24c62 Mon Sep 17 00:00:00 2001
- From: Chih-Wei Huang <cwhuang@linux.org.tw>
- Date: Tue, 18 Sep 2018 11:01:37 +0800
- Subject: [PATCH 3/7] surface3-oemb
- ---
- drivers/platform/x86/surface3-wmi.c | 7 +++++++
- sound/soc/codecs/rt5645.c | 9 +++++++++
- sound/soc/intel/common/soc-acpi-intel-cht-match.c | 6 ++++++
- 3 files changed, 22 insertions(+)
- diff --git a/drivers/platform/x86/surface3-wmi.c b/drivers/platform/x86/surface3-wmi.c
- index 130b6f52a600..801083aa56d6 100644
- --- a/drivers/platform/x86/surface3-wmi.c
- +++ b/drivers/platform/x86/surface3-wmi.c
- @@ -37,6 +37,13 @@ static const struct dmi_system_id surface3_dmi_table[] = {
- DMI_MATCH(DMI_PRODUCT_NAME, "Surface 3"),
- },
- },
- + {
- + .matches = {
- + DMI_MATCH(DMI_BIOS_VENDOR, "American Megatrends Inc."),
- + DMI_MATCH(DMI_SYS_VENDOR, "OEMB"),
- + DMI_MATCH(DMI_PRODUCT_NAME, "OEMB"),
- + },
- + },
- #endif
- { }
- };
- diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
- index 19662ee330d6..dbe70f80d1de 100644
- --- a/sound/soc/codecs/rt5645.c
- +++ b/sound/soc/codecs/rt5645.c
- @@ -3675,6 +3675,15 @@ static const struct dmi_system_id dmi_platform_data[] = {
- },
- .driver_data = (void *)&intel_braswell_platform_data,
- },
- + {
- + .ident = "Microsoft Surface 3",
- + .matches = {
- + DMI_MATCH(DMI_BIOS_VENDOR, "American Megatrends Inc."),
- + DMI_MATCH(DMI_SYS_VENDOR, "OEMB"),
- + DMI_MATCH(DMI_PRODUCT_NAME, "OEMB"),
- + },
- + .driver_data = (void *)&intel_braswell_platform_data,
- + },
- {
- /*
- * Match for the GPDwin which unfortunately uses somewhat
- diff --git a/sound/soc/intel/common/soc-acpi-intel-cht-match.c b/sound/soc/intel/common/soc-acpi-intel-cht-match.c
- index d0fb43c2b9f6..de2583918afd 100644
- --- a/sound/soc/intel/common/soc-acpi-intel-cht-match.c
- +++ b/sound/soc/intel/common/soc-acpi-intel-cht-match.c
- @@ -26,6 +26,12 @@ static const struct dmi_system_id cht_table[] = {
- DMI_MATCH(DMI_SYS_VENDOR, "Microsoft Corporation"),
- DMI_MATCH(DMI_PRODUCT_NAME, "Surface 3"),
- },
- + .callback = cht_surface_quirk_cb,
- + .matches = {
- + DMI_MATCH(DMI_BIOS_VENDOR, "American Megatrends Inc."),
- + DMI_MATCH(DMI_SYS_VENDOR, "OEMB"),
- + DMI_MATCH(DMI_PRODUCT_NAME, "OEMB"),
- + },
- },
- { }
- };
- --
- 2.25.0
|