alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] ASoC: wm8904: remove redundant code
@ 2012-09-10  9:50 Bo Shen
  2012-09-10 10:07 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Bo Shen @ 2012-09-10  9:50 UTC (permalink / raw)
  To: broonie; +Cc: alsa-devel, Bo Shen, linux-sound

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ASoC: wm8904: remove redundant code
  2012-09-10  9:50 [PATCH] ASoC: wm8904: remove redundant code Bo Shen
@ 2012-09-10 10:07 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2012-09-10 10:07 UTC (permalink / raw)
  To: Bo Shen; +Cc: linux-sound, alsa-devel

On Mon, Sep 10, 2012 at 05:50:33PM +0800, Bo Shen wrote:
> The core_intercon is added two times, remove the redundant one

Applied, thanks.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-09-10 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-10  9:50 [PATCH] ASoC: wm8904: remove redundant code Bo Shen
2012-09-10 10:07 ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).