From: "Subhransu S. Prusty" <subhransu.s.prusty@intel.com>
To: alsa-devel@alsa-project.org
Cc: tiwai@suse.de, lgirdwood@gmail.com, patches.audio@intel.com,
broonie@kernel.org, Vinod Koul <vinod.koul@intel.com>,
"Subhransu S. Prusty" <subhransu.s.prusty@intel.com>
Subject: [PATCH 2/4] ASoC: rt298: Add DMI match for Geminilake reference platform
Date: Thu, 9 Feb 2017 16:44:02 +0530 [thread overview]
Message-ID: <1486638844-17975-3-git-send-email-subhransu.s.prusty@intel.com> (raw)
In-Reply-To: <1486638844-17975-1-git-send-email-subhransu.s.prusty@intel.com>
From: Vinod Koul <vinod.koul@intel.com>
Geminilake reference platform also uses combo jack for audio connector
so we need to set codec pdata to use this based on DMI match for this
board.
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Subhransu S. Prusty <subhransu.s.prusty@intel.com>
---
sound/soc/codecs/rt298.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/sound/soc/codecs/rt298.c b/sound/soc/codecs/rt298.c
index 7150a407ffd9..d9e96e65e1c4 100644
--- a/sound/soc/codecs/rt298.c
+++ b/sound/soc/codecs/rt298.c
@@ -1163,6 +1163,13 @@ static int rt298_resume(struct snd_soc_codec *codec)
DMI_MATCH(DMI_PRODUCT_NAME, "Broxton P")
}
},
+ {
+ .ident = "Intel Gemini Lake",
+ .matches = {
+ DMI_MATCH(DMI_SYS_VENDOR, "Intel Corp"),
+ DMI_MATCH(DMI_PRODUCT_NAME, "Geminilake")
+ }
+ },
{ }
};
--
1.9.1
next prev parent reply other threads:[~2017-02-09 11:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-02-09 11:14 [PATCH 0/4] ASoC: Intel: Skylake: Enable Geminilake support Subhransu S. Prusty
2017-02-09 11:14 ` [PATCH 1/4] ASoC: Intel: Skylake: Check device type to get endpoint configuration Subhransu S. Prusty
2017-02-16 19:04 ` Applied "ASoC: Intel: Skylake: Check device type to get endpoint configuration" to the asoc tree Mark Brown
2017-02-09 11:14 ` Subhransu S. Prusty [this message]
2017-02-16 19:04 ` Applied "ASoC: rt298: Add DMI match for Geminilake reference platform" " Mark Brown
2017-02-09 11:14 ` [PATCH 3/4] ASoC: Intel: Skylake: Add Geminlake IDs Subhransu S. Prusty
2017-02-16 19:03 ` Applied "ASoC: Intel: Skylake: Add Geminlake IDs" to the asoc tree Mark Brown
2017-02-09 11:14 ` [PATCH 4/4] ASoC: hdac_hdmi: Add device id for Geminilake Subhransu S. Prusty
2017-02-16 19:03 ` Applied "ASoC: hdac_hdmi: Add device id for Geminilake" to the asoc tree Mark Brown
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=1486638844-17975-3-git-send-email-subhransu.s.prusty@intel.com \
--to=subhransu.s.prusty@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=patches.audio@intel.com \
--cc=tiwai@suse.de \
--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