diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-02-28 02:31:08 -0500 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-02-28 22:03:35 -0500 |
commit | 15ab40a9a83035d92b4f4c83cb88c7529bf73c71 (patch) | |
tree | 6c0c6c536d40fbf388f155421bd4c09015b932aa | |
parent | ba513116403bc93072dd54a1f89dacdb4d89fcab (diff) |
ASoC: mc13783: Use SOC_ENUM_SINGLE_VIRT_DECL()
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>
Tested-by: Philippe Rétornaz <philippe.retornaz@epfl.ch>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | sound/soc/codecs/mc13783.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/soc/codecs/mc13783.c b/sound/soc/codecs/mc13783.c index c605036cc0b0..ec89b8f90a64 100644 --- a/sound/soc/codecs/mc13783.c +++ b/sound/soc/codecs/mc13783.c | |||
@@ -408,8 +408,7 @@ static const char * const adcl_enum_text[] = { | |||
408 | "MC1L", "RXINL", | 408 | "MC1L", "RXINL", |
409 | }; | 409 | }; |
410 | 410 | ||
411 | static SOC_ENUM_SINGLE_DECL(adcl_enum, | 411 | static SOC_ENUM_SINGLE_VIRT_DECL(adcl_enum, adcl_enum_text); |
412 | 0, 0, adcl_enum_text); | ||
413 | 412 | ||
414 | static const struct snd_kcontrol_new left_input_mux = | 413 | static const struct snd_kcontrol_new left_input_mux = |
415 | SOC_DAPM_ENUM_VIRT("Route", adcl_enum); | 414 | SOC_DAPM_ENUM_VIRT("Route", adcl_enum); |
@@ -418,8 +417,7 @@ static const char * const adcr_enum_text[] = { | |||
418 | "MC1R", "MC2", "RXINR", "TXIN", | 417 | "MC1R", "MC2", "RXINR", "TXIN", |
419 | }; | 418 | }; |
420 | 419 | ||
421 | static SOC_ENUM_SINGLE_DECL(adcr_enum, | 420 | static SOC_ENUM_SINGLE_VIRT_DECL(adcr_enum, adcr_enum_text); |
422 | 0, 0, adcr_enum_text); | ||
423 | 421 | ||
424 | static const struct snd_kcontrol_new right_input_mux = | 422 | static const struct snd_kcontrol_new right_input_mux = |
425 | SOC_DAPM_ENUM_VIRT("Route", adcr_enum); | 423 | SOC_DAPM_ENUM_VIRT("Route", adcr_enum); |