From: Stephen Just <stephenjust@gmail.com>
To: patch@alsa-project.org
Cc: Vinod Koul <vinod.koul@intel.com>,
alsa-devel@alsa-project.org, Mark Brown <broonie@kernel.org>,
Stephen Just <stephenjust@gmail.com>
Subject: [PATCH v2 1/2] ASoC: rt5645: Add support for Surface 3 tablet
Date: Mon, 4 Jul 2016 10:53:47 -0600 [thread overview]
Message-ID: <20160704165348.2558-2-stephenjust@gmail.com> (raw)
In-Reply-To: <20160704165348.2558-1-stephenjust@gmail.com>
* Add a dmi match for Surface 3
* Add ACPI match "10EC5640"
The Surface 3 tablet identifies the codec in ACPI as
10EC5640, but other devices use this identifier to match
the rt5640 codec. However, the probe code for each driver
will filter out mismatches.
Cc: Mark Brown <broonie@kernel.org>
Cc: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Stephen Just <stephenjust@gmail.com>
---
sound/soc/codecs/rt5645.c | 7 +++++++
1 file changed, 7 insertions(+)
v1 -> v2: No change
diff --git a/sound/soc/codecs/rt5645.c b/sound/soc/codecs/rt5645.c
index 3c6594d..761ca88 100644
--- a/sound/soc/codecs/rt5645.c
+++ b/sound/soc/codecs/rt5645.c
@@ -3531,6 +3531,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);
@@ -3561,6 +3562,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"),
+ },
+ },
{ }
};
--
2.7.4
next prev parent reply other threads:[~2016-07-04 16:53 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-04 16:53 [PATCH v2 0/2] Add audio support for Microsoft Surface 3 tablet Stephen Just
2016-07-04 16:53 ` Stephen Just [this message]
2016-07-05 2:35 ` [PATCH v2 1/2] ASoC: rt5645: Add support for " Vinod Koul
2016-07-05 6:41 ` Takashi Iwai
2016-07-04 16:53 ` [PATCH v2 2/2] ASoC: Intel: Atom: add quirk for CHT w/ RT5645 Stephen Just
2016-07-05 2:33 ` Vinod Koul
2016-07-05 6:46 ` Takashi Iwai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160704165348.2558-2-stephenjust@gmail.com \
--to=stephenjust@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=patch@alsa-project.org \
--cc=vinod.koul@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).