From: fuweix.tang@intel.com
To: alsa-devel@alsa-project.org
Cc: Mengdong Lin <mengdong.lin@linux.intel.com>,
"Tewani, Pradeep D" <pradeep.d.tewani@intel.com>,
tiwai@suse.de, mengdong.lin@intel.com,
liam.r.girdwood@linux.intel.com,
Fuwei Tang <fuweix.tang@intel.com>
Subject: [PATCH] topology: Added supply widget support
Date: Thu, 13 Apr 2017 14:58:06 +0800 [thread overview]
Message-ID: <1492066686-10777-1-git-send-email-fuweix.tang@intel.com> (raw)
From: "Tewani, Pradeep D" <pradeep.d.tewani@intel.com>
Signed-off-by: Mengdong Lin <mengdong.lin@linux.intel.com>
Signed-off-by: Fuwei Tang <fuweix.tang@intel.com>
---
include/sound/asoc.h | 3 ++-
src/topology/dapm.c | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/include/sound/asoc.h b/include/sound/asoc.h
index 082c542..9bef6eb 100644
--- a/include/sound/asoc.h
+++ b/include/sound/asoc.h
@@ -70,7 +70,8 @@
#define SND_SOC_TPLG_DAPM_DAI_IN 13
#define SND_SOC_TPLG_DAPM_DAI_OUT 14
#define SND_SOC_TPLG_DAPM_DAI_LINK 15
-#define SND_SOC_TPLG_DAPM_LAST SND_SOC_TPLG_DAPM_DAI_LINK
+#define SND_SOC_TPLG_DAPM_SUPPLY 16
+#define SND_SOC_TPLG_DAPM_LAST SND_SOC_TPLG_DAPM_SUPPLY
/* Header magic number and string sizes */
#define SND_SOC_TPLG_MAGIC 0x41536F43 /* ASoC */
diff --git a/src/topology/dapm.c b/src/topology/dapm.c
index 13aa1c4..b7e244e 100644
--- a/src/topology/dapm.c
+++ b/src/topology/dapm.c
@@ -38,6 +38,7 @@ static const struct map_elem widget_map[] = {
{"dai_in", SND_SOC_TPLG_DAPM_DAI_IN},
{"dai_out", SND_SOC_TPLG_DAPM_DAI_OUT},
{"dai_link", SND_SOC_TPLG_DAPM_DAI_LINK},
+ {"supply", SND_SOC_TPLG_DAPM_SUPPLY},
};
static int lookup_widget(const char *w)
--
2.7.4
reply other threads:[~2017-04-13 6:58 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1492066686-10777-1-git-send-email-fuweix.tang@intel.com \
--to=fuweix.tang@intel.com \
--cc=alsa-devel@alsa-project.org \
--cc=liam.r.girdwood@linux.intel.com \
--cc=mengdong.lin@intel.com \
--cc=mengdong.lin@linux.intel.com \
--cc=pradeep.d.tewani@intel.com \
--cc=tiwai@suse.de \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.