[alsa-devel] [PATCH] ASoC: wm8904: remove redundant code
10 Sep
2012
10 Sep
'12
11:50 a.m.
The core_intercon is added two times, remove the redundant one
Signed-off-by: Bo Shen voice.shen@atmel.com --- sound/soc/codecs/wm8904.c | 2 -- 1 file changed, 2 deletions(-)
diff --git a/sound/soc/codecs/wm8904.c b/sound/soc/codecs/wm8904.c index 0013afe..2b9766d 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) snd_soc_dapm_new_controls(dapm, wm8904_dapm_widgets, ARRAY_SIZE(wm8904_dapm_widgets));
- snd_soc_dapm_add_routes(dapm, core_intercon, - ARRAY_SIZE(core_intercon)); snd_soc_dapm_add_routes(dapm, adc_intercon, ARRAY_SIZE(adc_intercon)); snd_soc_dapm_add_routes(dapm, dac_intercon,
--
1.7.9.5
4486
Age (days ago)
4486
Last active (days ago)
1 comments
2 participants
participants (2)
-
Bo Shen
-
Mark Brown