From: Lars-Peter Clausen <lars@metafoo.de>
To: Mark Brown <broonie@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>
Cc: alsa-devel@alsa-project.org,
"Lars-Peter Clausen" <lars@metafoo.de>,
patches@opensource.wolfsonmicro.com,
"Philippe Rétornaz" <philippe.retornaz@epfl.ch>,
"Charles Keepax" <ckeepax@opensource.wolfsonmicro.com>,
"Steffen Trumtrar" <s.trumtrar@pengutronix.de>
Subject: [PATCH v2 05/11] ASoC: adau1373: Use SOC_ENUM_SINGLE_VIRT_DECL()
Date: Fri, 28 Feb 2014 08:31:06 +0100 [thread overview]
Message-ID: <1393572672-13937-6-git-send-email-lars@metafoo.de> (raw)
In-Reply-To: <1393572672-13937-1-git-send-email-lars@metafoo.de>
For the upcoming consolidation for MUXs and virtual MUXs we need to mark virtual
enums as such.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
---
No changes since v1
---
sound/soc/codecs/adau1373.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/sound/soc/codecs/adau1373.c b/sound/soc/codecs/adau1373.c
index 5765c22..5223800 100644
--- a/sound/soc/codecs/adau1373.c
+++ b/sound/soc/codecs/adau1373.c
@@ -576,8 +576,8 @@ static const char *adau1373_decimator_text[] = {
"DMIC1",
};
-static SOC_ENUM_SINGLE_DECL(adau1373_decimator_enum,
- 0, 0, adau1373_decimator_text);
+static SOC_ENUM_SINGLE_VIRT_DECL(adau1373_decimator_enum,
+ adau1373_decimator_text);
static const struct snd_kcontrol_new adau1373_decimator_mux =
SOC_DAPM_ENUM_VIRT("Decimator Mux", adau1373_decimator_enum);
--
1.8.0
next prev parent reply other threads:[~2014-02-28 7:30 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-28 7:31 [PATCH v2 00/11] ASoC: Consolidate enum controls and DAPM MUXs Lars-Peter Clausen
2014-02-28 7:31 ` [PATCH v2 01/11] ASoC: Remove unused 'reg2' field from soc_enum struct Lars-Peter Clausen
2014-02-28 7:31 ` [PATCH v2 02/11] ASoC: Consolidate enum and value enum controls Lars-Peter Clausen
2014-02-28 7:31 ` [PATCH v2 03/11] ASoC: dapm: Consolidate MUXs and value MUXs Lars-Peter Clausen
2014-02-28 7:31 ` [PATCH v2 04/11] ASoC: Add macros for defining virtual enums Lars-Peter Clausen
2014-02-28 7:31 ` Lars-Peter Clausen [this message]
2014-02-28 7:31 ` [PATCH v2 06/11] ASoC: max98090: Use SOC_ENUM_SINGLE_VIRT_DECL() Lars-Peter Clausen
2014-02-28 7:31 ` [PATCH v2 07/11] ASoC: mc13783: " Lars-Peter Clausen
2014-02-28 7:31 ` [PATCH v2 08/11] ASoC: wm8994: " Lars-Peter Clausen
2014-02-28 7:31 ` [PATCH v2 09/11] ASoC: wm8995: " Lars-Peter Clausen
2014-02-28 7:31 ` [PATCH v2 10/11] ASoC: dapm: Consolidate MUXs and virtual MUXs Lars-Peter Clausen
2014-02-28 7:31 ` [PATCH v2 11/11] ASoC: dapm: Break dapm_set_path_status() appart Lars-Peter Clausen
2014-03-01 3:10 ` [PATCH v2 00/11] ASoC: Consolidate enum controls and DAPM MUXs 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=1393572672-13937-6-git-send-email-lars@metafoo.de \
--to=lars@metafoo.de \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=ckeepax@opensource.wolfsonmicro.com \
--cc=lgirdwood@gmail.com \
--cc=patches@opensource.wolfsonmicro.com \
--cc=philippe.retornaz@epfl.ch \
--cc=s.trumtrar@pengutronix.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 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).