]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ASoC: rt5645: Add ACPI ID 10EC5640
authorVinod Koul <vinod.koul@intel.com>
Fri, 8 Jul 2016 10:09:50 +0000 (15:39 +0530)
committerMark Brown <broonie@kernel.org>
Fri, 8 Jul 2016 12:28:49 +0000 (14:28 +0200)
Some CHT platforms use RT5645 codec which has entry 10EC5640 so add it.
Also add DMI quirk for jack detection.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=98001
[Jack detection]
Suggested-by: Stephen Just <stephenjust@gmail.com>
Signed-off-by: Sachin Mokashi <sachinx.mokashi@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c

index dbf05600b5ffc96e0c5aeab9975545b30fb6eec1..e5556a19c9958e55cf82a5fc1adeeb236cf05a32 100644 (file)
@@ -3543,6 +3543,7 @@ MODULE_DEVICE_TABLE(i2c, rt5645_i2c_id);
 static const struct acpi_device_id rt5645_acpi_match[] = {
        { "10EC5645", 0 },
        { "10EC5650", 0 },
+       { "10EC5640", 0 },
        {},
 };
 MODULE_DEVICE_TABLE(acpi, rt5645_acpi_match);
@@ -3573,6 +3574,12 @@ static const struct dmi_system_id dmi_platform_intel_braswell[] = {
                        DMI_MATCH(DMI_PRODUCT_NAME, "Setzer"),
                },
        },
+       {
+               .ident = "Microsoft Surface 3",
+               .matches = {
+                       DMI_MATCH(DMI_PRODUCT_NAME, "Surface 3"),
+               },
+       },
        { }
 };