[alsa-devel] [PATCH v2 06/11] ASoC: max98090: Use SOC_ENUM_SINGLE_VIRT_DECL()
Lars-Peter Clausen
lars at metafoo.de
Fri Feb 28 08:31:07 CET 2014
For the upcoming consolidation for MUXs and virtual MUXs we need to mark virtual
enums as such.
Signed-off-by: Lars-Peter Clausen <lars at metafoo.de>
---
No changes since v1
---
sound/soc/codecs/max98090.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c
index a75752f..f363de1 100644
--- a/sound/soc/codecs/max98090.c
+++ b/sound/soc/codecs/max98090.c
@@ -872,7 +872,7 @@ static const struct snd_kcontrol_new max98090_mic2_mux =
static const char *dmic_mux_text[] = { "ADC", "DMIC" };
-static SOC_ENUM_SINGLE_EXT_DECL(dmic_mux_enum, dmic_mux_text);
+static SOC_ENUM_SINGLE_VIRT_DECL(dmic_mux_enum, dmic_mux_text);
static const struct snd_kcontrol_new max98090_dmic_mux =
SOC_DAPM_ENUM_VIRT("DMIC Mux", dmic_mux_enum);
--
1.8.0
More information about the Alsa-devel
mailing list