aboutsummaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2009-03-03 11:28:26 +0000
committerAndy Green <agreen@octopus.localdomain>2009-03-03 11:28:26 +0000
commit475cb2fac7093c94b21627f7ff3be89730f2c215 (patch)
treefaf404a4ad04539e6badd2e9f88a458a8be12c2f /sound
parent71bf8499f4cc49693595e74b0e629d634a847a06 (diff)
ASoC: Remove #if 0 code from GTA02
More code cleanup. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound')
-rw-r--r--sound/soc/s3c24xx/neo1973_gta02_wm8753.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
index 8e2c7fd9725..ade08e18928 100644
--- a/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
+++ b/sound/soc/s3c24xx/neo1973_gta02_wm8753.c
@@ -488,10 +488,6 @@ static int neo1973_gta02_wm8753_init(struct snd_soc_codec *codec)
/* Add neo1973 gta02 specific widgets */
snd_soc_dapm_new_controls(codec, wm8753_dapm_widgets, ARRAY_SIZE(wm8753_dapm_widgets));
-#if 0
- for (i = 0; i < ARRAY_SIZE(wm8753_dapm_widgets); i++)
- snd_soc_dapm_new_control(codec, &wm8753_dapm_widgets[i]);
-#endif
/* add neo1973 gta02 specific controls */
for (i = 0; i < ARRAY_SIZE(wm8753_neo1973_gta02_controls); i++) {
@@ -502,13 +498,7 @@ static int neo1973_gta02_wm8753_init(struct snd_soc_codec *codec)
return err;
}
- /* set up neo1973 gta02 specific audio path audio_mapnects */
-#if 0
- for (i = 0; audio_map[i][0] != NULL; i++) {
- snd_soc_dapm_connect_input(codec, audio_map[i][0],
- audio_map[i][1], audio_map[i][2]);
- }
-#endif
+ /* set up neo1973 gta02 specific audio path audio_map */
snd_soc_dapm_add_routes(codec, audio_map, ARRAY_SIZE(audio_map));
/* set endpoints to default off mode */