diff options
author | Bo Shen <voice.shen@atmel.com> | 2012-09-10 05:50:33 -0400 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-09-10 06:07:20 -0400 |
commit | a044b75779201b1eb293ffcb887404357b21421e (patch) | |
tree | b9acac48375b12479dcaf83f4906ac080cfe8bfd | |
parent | fe98c0cf40883e7d12456e0abc269e4fa31bed69 (diff) |
ASoC: wm8904: remove redundant code
The core_intercon is added two times, remove the redundant one
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
-rw-r--r-- | sound/soc/codecs/wm8904.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c index 0013afe48e66..2b9766d55384 100644 --- a/sound/soc/codecs/wm8904.c +++ b/sound/soc/codecs/wm8904.c | |||
@@ -1185,8 +1185,6 @@ static int wm8904_add_widgets(struct snd_soc_codec *codec) | |||
1185 | snd_soc_dapm_new_controls(dapm, wm8904_dapm_widgets, | 1185 | snd_soc_dapm_new_controls(dapm, wm8904_dapm_widgets, |
1186 | ARRAY_SIZE(wm8904_dapm_widgets)); | 1186 | ARRAY_SIZE(wm8904_dapm_widgets)); |
1187 | 1187 | ||
1188 | snd_soc_dapm_add_routes(dapm, core_intercon, | ||
1189 | ARRAY_SIZE(core_intercon)); | ||
1190 | snd_soc_dapm_add_routes(dapm, adc_intercon, | 1188 | snd_soc_dapm_add_routes(dapm, adc_intercon, |
1191 | ARRAY_SIZE(adc_intercon)); | 1189 | ARRAY_SIZE(adc_intercon)); |
1192 | snd_soc_dapm_add_routes(dapm, dac_intercon, | 1190 | snd_soc_dapm_add_routes(dapm, dac_intercon, |