diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2014-04-15 01:46:05 -0400 |
---|---|---|
committer | Mark Brown <broonie@linaro.org> | 2014-04-15 05:05:44 -0400 |
commit | 9de98da2a7531ec9dedfbe95d69ee55237bbd9d5 (patch) | |
tree | 2107308de14e83a81b16a47c5f17b55c5d935d31 | |
parent | 785b3c4e0951252cdbc0cd902292bf5c9f08897a (diff) |
ASoC: wm8997: Fix compile error
The macro's name is SOC_ENUM, not SOC_VALUE.
Fixes: e13dd8ce ("ASoC: wm8997: Replace usage deprecated MUX/ENUM macros")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Mark Brown <broonie@linaro.org>
-rw-r--r-- | sound/soc/codecs/wm8997.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sound/soc/codecs/wm8997.c b/sound/soc/codecs/wm8997.c index e45bbc0f15b2..a5dcdcb3ee24 100644 --- a/sound/soc/codecs/wm8997.c +++ b/sound/soc/codecs/wm8997.c | |||
@@ -245,8 +245,8 @@ SND_SOC_BYTES("LHPF2 Coefficients", ARIZONA_HPLPF2_2, 1), | |||
245 | SND_SOC_BYTES("LHPF3 Coefficients", ARIZONA_HPLPF3_2, 1), | 245 | SND_SOC_BYTES("LHPF3 Coefficients", ARIZONA_HPLPF3_2, 1), |
246 | SND_SOC_BYTES("LHPF4 Coefficients", ARIZONA_HPLPF4_2, 1), | 246 | SND_SOC_BYTES("LHPF4 Coefficients", ARIZONA_HPLPF4_2, 1), |
247 | 247 | ||
248 | SOC_VALUE("ISRC1 FSL", arizona_isrc_fsl[0]), | 248 | SOC_ENUM("ISRC1 FSL", arizona_isrc_fsl[0]), |
249 | SOC_VALUE("ISRC2 FSL", arizona_isrc_fsl[1]), | 249 | SOC_ENUM("ISRC2 FSL", arizona_isrc_fsl[1]), |
250 | 250 | ||
251 | ARIZONA_MIXER_CONTROLS("Mic", ARIZONA_MICMIX_INPUT_1_SOURCE), | 251 | ARIZONA_MIXER_CONTROLS("Mic", ARIZONA_MICMIX_INPUT_1_SOURCE), |
252 | ARIZONA_MIXER_CONTROLS("Noise", ARIZONA_NOISEMIX_INPUT_1_SOURCE), | 252 | ARIZONA_MIXER_CONTROLS("Noise", ARIZONA_NOISEMIX_INPUT_1_SOURCE), |
@@ -286,8 +286,8 @@ SOC_DOUBLE_R_TLV("SPKDAT1 Digital Volume", ARIZONA_DAC_DIGITAL_VOLUME_5L, | |||
286 | ARIZONA_DAC_DIGITAL_VOLUME_5R, ARIZONA_OUT5L_VOL_SHIFT, | 286 | ARIZONA_DAC_DIGITAL_VOLUME_5R, ARIZONA_OUT5L_VOL_SHIFT, |
287 | 0xbf, 0, digital_tlv), | 287 | 0xbf, 0, digital_tlv), |
288 | 288 | ||
289 | SOC_VALUE("HPOUT1 OSR", wm8997_hpout_osr[0]), | 289 | SOC_ENUM("HPOUT1 OSR", wm8997_hpout_osr[0]), |
290 | SOC_VALUE("EPOUT OSR", wm8997_hpout_osr[1]), | 290 | SOC_ENUM("EPOUT OSR", wm8997_hpout_osr[1]), |
291 | 291 | ||
292 | SOC_ENUM("Output Ramp Up", arizona_out_vi_ramp), | 292 | SOC_ENUM("Output Ramp Up", arizona_out_vi_ramp), |
293 | SOC_ENUM("Output Ramp Down", arizona_out_vd_ramp), | 293 | SOC_ENUM("Output Ramp Down", arizona_out_vd_ramp), |