diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-04-14 15:31:06 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-14 15:40:05 -0400 |
commit | 696d3affa012a439f9e6be1e60cc68ce06d736d1 (patch) | |
tree | 860c838f15308c6f1a72d3c72d0e7b4f24602d96 /sound/soc/codecs/wm5110.c | |
parent | 6b2cab02a39d2d1badf93c44e989ffcb9c3c1363 (diff) |
ASoC: wm5110: Replace usage deprecated MUX/ENUM macros
SOC_VALUE_ENUM, SND_SOC_DAPM_VALUE_MUX and SOC_DAPM_VALUE_ENUM are deprecated
and merely an alias for SOC_ENUM, SND_SOC_DAPM_MUX and SOC_DAPM_ENUM. Replace
the deprecated macros so we can eventually remove their definition.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'sound/soc/codecs/wm5110.c')
-rw-r--r-- | sound/soc/codecs/wm5110.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/sound/soc/codecs/wm5110.c b/sound/soc/codecs/wm5110.c index df5a38dd8328..32e503211eec 100644 --- a/sound/soc/codecs/wm5110.c +++ b/sound/soc/codecs/wm5110.c | |||
@@ -324,13 +324,13 @@ SOC_ENUM("LHPF2 Mode", arizona_lhpf2_mode), | |||
324 | SOC_ENUM("LHPF3 Mode", arizona_lhpf3_mode), | 324 | SOC_ENUM("LHPF3 Mode", arizona_lhpf3_mode), |
325 | SOC_ENUM("LHPF4 Mode", arizona_lhpf4_mode), | 325 | SOC_ENUM("LHPF4 Mode", arizona_lhpf4_mode), |
326 | 326 | ||
327 | SOC_VALUE_ENUM("ISRC1 FSL", arizona_isrc_fsl[0]), | 327 | SOC_ENUM("ISRC1 FSL", arizona_isrc_fsl[0]), |
328 | SOC_VALUE_ENUM("ISRC2 FSL", arizona_isrc_fsl[1]), | 328 | SOC_ENUM("ISRC2 FSL", arizona_isrc_fsl[1]), |
329 | SOC_VALUE_ENUM("ISRC3 FSL", arizona_isrc_fsl[2]), | 329 | SOC_ENUM("ISRC3 FSL", arizona_isrc_fsl[2]), |
330 | SOC_VALUE_ENUM("ISRC1 FSH", arizona_isrc_fsh[0]), | 330 | SOC_ENUM("ISRC1 FSH", arizona_isrc_fsh[0]), |
331 | SOC_VALUE_ENUM("ISRC2 FSH", arizona_isrc_fsh[1]), | 331 | SOC_ENUM("ISRC2 FSH", arizona_isrc_fsh[1]), |
332 | SOC_VALUE_ENUM("ISRC3 FSH", arizona_isrc_fsh[2]), | 332 | SOC_ENUM("ISRC3 FSH", arizona_isrc_fsh[2]), |
333 | SOC_VALUE_ENUM("ASRC RATE 1", arizona_asrc_rate1), | 333 | SOC_ENUM("ASRC RATE 1", arizona_asrc_rate1), |
334 | 334 | ||
335 | ARIZONA_MIXER_CONTROLS("DSP1L", ARIZONA_DSP1LMIX_INPUT_1_SOURCE), | 335 | ARIZONA_MIXER_CONTROLS("DSP1L", ARIZONA_DSP1LMIX_INPUT_1_SOURCE), |
336 | ARIZONA_MIXER_CONTROLS("DSP1R", ARIZONA_DSP1RMIX_INPUT_1_SOURCE), | 336 | ARIZONA_MIXER_CONTROLS("DSP1R", ARIZONA_DSP1RMIX_INPUT_1_SOURCE), |
@@ -592,7 +592,7 @@ static const struct soc_enum wm5110_aec_loopback = | |||
592 | wm5110_aec_loopback_values); | 592 | wm5110_aec_loopback_values); |
593 | 593 | ||
594 | static const struct snd_kcontrol_new wm5110_aec_loopback_mux = | 594 | static const struct snd_kcontrol_new wm5110_aec_loopback_mux = |
595 | SOC_DAPM_VALUE_ENUM("AEC Loopback", wm5110_aec_loopback); | 595 | SOC_DAPM_ENUM("AEC Loopback", wm5110_aec_loopback); |
596 | 596 | ||
597 | static const struct snd_soc_dapm_widget wm5110_dapm_widgets[] = { | 597 | static const struct snd_soc_dapm_widget wm5110_dapm_widgets[] = { |
598 | SND_SOC_DAPM_SUPPLY("SYSCLK", ARIZONA_SYSTEM_CLOCK_1, ARIZONA_SYSCLK_ENA_SHIFT, | 598 | SND_SOC_DAPM_SUPPLY("SYSCLK", ARIZONA_SYSTEM_CLOCK_1, ARIZONA_SYSCLK_ENA_SHIFT, |
@@ -774,7 +774,7 @@ SND_SOC_DAPM_PGA("ISRC3DEC3", ARIZONA_ISRC_3_CTRL_3, | |||
774 | SND_SOC_DAPM_PGA("ISRC3DEC4", ARIZONA_ISRC_3_CTRL_3, | 774 | SND_SOC_DAPM_PGA("ISRC3DEC4", ARIZONA_ISRC_3_CTRL_3, |
775 | ARIZONA_ISRC3_DEC3_ENA_SHIFT, 0, NULL, 0), | 775 | ARIZONA_ISRC3_DEC3_ENA_SHIFT, 0, NULL, 0), |
776 | 776 | ||
777 | SND_SOC_DAPM_VALUE_MUX("AEC Loopback", ARIZONA_DAC_AEC_CONTROL_1, | 777 | SND_SOC_DAPM_MUX("AEC Loopback", ARIZONA_DAC_AEC_CONTROL_1, |
778 | ARIZONA_AEC_LOOPBACK_ENA_SHIFT, 0, | 778 | ARIZONA_AEC_LOOPBACK_ENA_SHIFT, 0, |
779 | &wm5110_aec_loopback_mux), | 779 | &wm5110_aec_loopback_mux), |
780 | 780 | ||